Feature Proposal: New combobox TWiki Form Field Type
Motivation
In some cases it is desirable to have a fixed picklist, and at the same time an edit field to override the picklist options.
Description and Documentation
Add a new combobox form field type with:
- Text input field
- Button
- HTML Select
When the button is pressed an item can be selected from the list.
Sample form field definition:
Examples
Impact
Implementation
- Show text input field and button
- When button is pressed hide input field and show the select tag
- On focus loss of select tag:
- Update input field with selected option, and
- Toggle visibility back to input field
--
Contributors:
Peter Thoeny - 2013-03-27
Discussion
Just realized, instead of a new
select+edit type it might be better to introduce a new
combobox type. one might easily miss the
select+edit type if it is documented alongside other
select types. Opinions?
--
Peter Thoeny - 2013-03-27
I changed the proposal from
select+edit type to
combobox type.
--
Peter Thoeny - 2013-03-28
This feature is accepted by
JerusalemReleaseMeeting2013x03x29
--
Peter Thoeny - 2013-03-29
This is now in
SVN trunk.
--
Peter Thoeny - 2013-03-29