ICEfaces
  1. ICEfaces
  2. ICE-10453

ace:selectMenu - add "showListOnInput" attribute

    Details

      Description

      According to the original JIRA (ICE-2191) from when the ace:selectMenu was initially implemented, the showListOnInput attribute should work as follows:

      "...the showListOnInput=true behavior to only show the list if the user types to edit the input field, not on focus or click."

      However, as of 4.0, the component shows the list on click anywhere in the component (which is seems fine actually), BUT doesn't show the list if the component is tabbed into and them a key is pressed, which should present the list.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47570 Sat Feb 06 07:28:51 MST 2016 mircea.toma ICE-10453 Changed client code to follow the latest behaviour specs.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47069 Wed Feb 03 13:40:28 MST 2016 mircea.toma ICE-10453 Modified selectMenu client code to always respond to clicks on the down arrow regardless of 'showListOnInput' state.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47062 Tue Feb 02 16:51:04 MST 2016 mircea.toma ICE-10453 Changed 'showListOnInput' behaviour to only show the list if the user types to edit the input field, not on focus or click. Reuse 'focus' event that initializes the component to also show the options when showListOnInput=false. When focus is gained due to a click on the component the 'click' callback is temporarily disabled to avoid having it hide the options back.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43935 Tue Jan 20 14:28:58 MST 2015 mircea.toma ICE-10453 Add 'showListOnInput' property to component. Render drop down when 'showListOnInput=true'.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenuRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenuMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/selectmenu/selectmenu.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: