Commit cd02ead
authored
fix(input like): correct form submission behaviour (#12959)
All text-based input components (except textarea) now trigger a change event before requesting form submission.
- Pressing Enter on an empty field requests form submission.
- Pressing Enter on a field with a value also requests submission.
- For inputs that require user confirmation (typeahead, input suggestions, date picker, etc.), the first Enter confirms the value, while a second Enter triggers the form submission.
Added form submission support to ui5-step-input.
Added tests for all components implementing this behavior.1 parent b6c582c commit cd02ead
File tree
16 files changed
+1081
-167
lines changed- packages
- base/src/features
- main
- cypress/specs
- src
- test/pages
16 files changed
+1081
-167
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments