Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: 3.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces
-
Assignee Priority:P2
-
Salesforce Case Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
The default behavior of the ICEfaces is to submit a form when a user presses enter on any input field.
This JIRA is aiming to introduce a new icecore tag which can disable/enable form submission on Enter.
Example:
<icecore:submitOnEnter enabled="true">
<ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20"/>
<ice:inputText id="lastname" value="#{employee.lastName}" required="true" maxlength="20"/>
</icecore:submitOnEnter>
This JIRA is aiming to introduce a new icecore tag which can disable/enable form submission on Enter.
Example:
<icecore:submitOnEnter enabled="true">
<ice:inputText id="firstname" value="#{employee.firstName}" required="true" maxlength="20"/>
<ice:inputText id="lastname" value="#{employee.lastName}" required="true" maxlength="20"/>
</icecore:submitOnEnter>
Attaching video files showing working / non working scenarios.
MouseOutAndTab.avi - demonstrating working "on blur" submit
PressingEnter.avi - demonstrating issue when the value is submitted via Enter key.