Tags:
create new tag
view all tags

Feature Proposal: New combobox TWiki Form Field Type

      screenshot-combobox.png

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:

Name Type Size Values Tooltip message Attributes
Release Type combobox 60 , Alpha, Beta 1, Beta 2, Beta 3, GA Testing combobox  

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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2013-03-29 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.