Udo Schnurpfeil created TOBAGO-2179:
---------------------------------------

             Summary: New Select Component <tc:selectOneList>
                 Key: TOBAGO-2179
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2179
             Project: MyFaces Tobago
          Issue Type: New Feature
          Components: Themes
    Affects Versions: 5.3.0
            Reporter: Udo Schnurpfeil
            Assignee: Henning Nöth
             Fix For: 5.4.0


It would be great to have a component like 

[https://www.primefaces.org/showcase/ui/input/oneMenu.xhtml?jfwid=6c170]

as well as

[https://www.primefaces.org/showcase/ui/input/manyMenu.xhtml?jfwid=c8baa]

in both cases the "Advanced" version

*Brainstorming:*
 * Names: <tc:selectOne> and <tc:selectMany> (without suffix, or with suffix 
"Table", or "Filter", or "Menu", or "List" ?)
 * filter as an option
 * filtering can use "contains", "prefix" or other customizable filters 
(filtering works with DOM element of the item)
 * dropdown and line - both mode should be possible with both components
 * rendered in HTML as a <table>, to have a structured well readable data list, 
if more than one attribute to show
 * <tc:selectMany> will display the selected items like badges in the input 
field - the items in the list might be highlighted

 

*todo:*
 * (/) filter (prefix, contains)
 * (/) inline
 * (/) add/remove badges
 * (/) disabled component
 * (/) disabled options
 * (/) fix focus
 * (/) styling for selected rows
 * (x) add dropdown-menu to menuStore
 * (/) select options with keyboard
 * (x) filter (custom)
 * (x) events
 * (x) hint if filter result is empty
 * (x) <tc:style maxHeight> must work with inline=true



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to