This repository was archived by the owner on Dec 23, 2022. It is now read-only.
Commit 0ba0be6
Avoid form submit for events meant to add chips (#102)
* Avoid form submit for events meant to add chips
This is mainly necessary for forms that contain a single ChipInput and nothing
else as the default behaviour for Enter is to submit the form:
https://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2
* Move form example to specific story
* add descriptive text to story1 parent d3dcda3 commit 0ba0be6
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
0 commit comments