• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7205: New TWiki form field type: combobox

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine TWikiForms Enhancement Closed   major 6.0.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

See feature proposal at TWiki:Codev.NewComboBoxTWikiFormFieldType

-- TWiki:Main/PeterThoeny - 2013-03-29

This is now in SVN trunk.

-- TWiki:Main.PeterThoeny - 2013-03-29

Hi Peter, the combobox works nicely. I made a few changes to enhance it and avoid some unintended appearance:

  • Remove 'width' style from the wrapping <div>, since it made the browser calculate any surrounding table cell size incorrectly. (E.g. | %EDITFORMFIELD{...}% | )
  • Use {display: 'inline'/'none'} explicitly for the wrapping <div> instead of jQuery's .show() and .hide() which would revert the display value to 'block' in Chrome. The dropdown position was off when 'combobox' was used for PreferencesPlugin.
  • Clicking on the down-arrow icon second time hides the drop-down.

-- TWiki:Main.MahiroAndo - 2013-04-17

Thank you Mahiro-san for the nice enhancements!

-- TWiki:Main.PeterThoeny - 2013-04-18

ItemTemplate
Summary New TWiki form field type: combobox
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-5.1.3-trunk, Tue, 19 Mar 2013, build 25461
AppliesTo Engine
Component TWikiForms
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:25571 TWikirev:25572 TWikirev:25573 TWikirev:25574 TWikirev:25575 TWikirev:25576 TWikirev:25580 TWikirev:25772 TWikirev:25773 TWikirev:25774
TargetRelease major
ReleasedIn 6.0.0
Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r18 - 2013-10-15 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback