Page MenuHomePhabricator

Create a PHP-only pendant for TagMultiselectWidget
Open, LowPublic

Description

Currently, there's no php implementation of a TagMultiselectWidget, but it would be great to have one, so the widget could be used on pages where a form need to work without JavaScript, too. I'm not sure, how this widget would look like, probably a <select multiple> element?

Event Timeline

<select multiple> has possibly the worst user interface ever created by man, requiring Ctrl+click or click and drag to actually select multiple options. A set of checkboxes (<input type=checkbox>) can provide the same functionality, and MediaWiki uses this widely (e.g. HTMLMultiSelectField generates them). There is no other method, as far as I know.

I think that we should never use <select multiple> and therefore this is a duplicate of T117782.

Volker_E renamed this task from Create a PHP-only pendant for CapsuleMultiselectWidget to Create a PHP-only pendant for TagMultiselectWidget.Jul 13 2017, 6:12 PM
Volker_E updated the task description. (Show Details)

When arbitrary input is allowed, a MultilineTextInputWidget is probably the most appropriate in PHP.