Commit 0944107
authored
fix(ui5-input): fire submit only if single input in a form (#12244)
* fix(ui5-input): fire submit only if single input in a form
to match the native input in form behavior, the submit event should
be fired on enter key press and change event only if there is a single
input in the form.
fixes: #122211 parent 6937756 commit 0944107
2 files changed
+35
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
201 | 230 | | |
202 | 231 | | |
203 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
| 840 | + | |
| 841 | + | |
840 | 842 | | |
841 | 843 | | |
842 | | - | |
| 844 | + | |
843 | 845 | | |
844 | 846 | | |
845 | 847 | | |
| |||
1138 | 1140 | | |
1139 | 1141 | | |
1140 | 1142 | | |
| 1143 | + | |
| 1144 | + | |
1141 | 1145 | | |
1142 | 1146 | | |
1143 | 1147 | | |
| |||
1159 | 1163 | | |
1160 | 1164 | | |
1161 | 1165 | | |
1162 | | - | |
| 1166 | + | |
1163 | 1167 | | |
1164 | 1168 | | |
1165 | 1169 | | |
| |||
0 commit comments