Drop-down widget should not be tied to @enum presence
Bug #1467514 reported by
Timur Sufiev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Merlin |
Fix Committed
|
High
|
Timur Sufiev |
Bug Description
There are 2 ways of restricting User to a predetermined set of choices in a widget: a drop-down list or a plain input with an autocompletion list (and editable=false). In both cases the list of possible choices could be provided only via @enum option inside a model. Yet @enum rigidly implies only drop-down widget as its representation, while autocompletion input is shown if a separate schema attribute 'autocompletionUrl' is provided. This is a wrong approach: we should be able to switch between drop-down widget and input widget with autocompletion depending on a number of choices (hard to use drop-down list for more than dozens of choices) and possibly other constraints.
Changed in merlin: | |
status: | New → In Progress |
assignee: | nobody → Timur Sufiev (tsufiev-x) |
Changed in merlin: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.