Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:jsf 2 compat ice
-
Assignee Priority:P2
-
Salesforce Case Reference:
Description
to reproduce, can use on-line showcase example, or current trunk and go to ice tab on showcase example app.
Choose "ice:rowSelector
> Toggle on Input "
example.
the row selector styling shows mouse click selecting and deselecting rows correctly, however, when you
check the checkbox for "Toggle Row Selection on Input?"
you can then see that any input on the inputbox will deselect the row (first keypress will deselect the row, submit and then input field is dead/disabled).
Should the row selection toggle on input be allowed to listen for keypress as well as mouse actions? If keypress is not allowed for the Toggle on Input, then the inputText field would still be active.
Choose "ice:rowSelector
> Toggle on Input "
example.
the row selector styling shows mouse click selecting and deselecting rows correctly, however, when you
check the checkbox for "Toggle Row Selection on Input?"
you can then see that any input on the inputbox will deselect the row (first keypress will deselect the row, submit and then input field is dead/disabled).
Should the row selection toggle on input be allowed to listen for keypress as well as mouse actions? If keypress is not allowed for the Toggle on Input, then the inputText field would still be active.
Issue Links
- depends on
-
ICE-7773 ice:rowSelector with toggleOnInput=true blocks input editing
-
- Closed
-
workaround, if you don't need keyboard navigation is the following (again using showcase example):_
{car.selected}<ice:rowSelector value="#
"
{selectorToggle.enable}multiple="true"
keyboardNavigationEnabled="false"
toggleOnInput="#
"/>
then you can once again enter in the input field. problem is toggleOnInput with keyboardNavigationEnabled causes inputText problems...will rename Jira
Since keyboardNavigationEnabled defaults to "true", workaround must have the attribute set to false to use toggleOnInput with any inputText fields on the page. (any keypress is currently triggering the toggleOnInput)