Commit f005874
fix(textfield): validate on blur only
Remove update on update:modelValue to fix bug preventing typing
non integer values in TextField
Remove condition on dirty call in validate to replace the call in
update
Uniformize TextField template.html structure1 parent fbc8509 commit f005874
File tree
2 files changed
+6
-18
lines changed- vue3-components/src/widgets/TextField
2 files changed
+6
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 177 | | |
| 178 | + | |
181 | 179 | | |
182 | | - | |
183 | | - | |
184 | | - | |
| 180 | + | |
| 181 | + | |
185 | 182 | | |
186 | | - | |
187 | 183 | | |
188 | 184 | | |
189 | 185 | | |
190 | | - | |
191 | | - | |
| 186 | + | |
192 | 187 | | |
193 | 188 | | |
194 | | - | |
195 | 189 | | |
196 | 190 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 191 | + | |
201 | 192 | | |
202 | 193 | | |
203 | 194 | | |
| |||
281 | 272 | | |
282 | 273 | | |
283 | 274 | | |
284 | | - | |
285 | 275 | | |
286 | 276 | | |
287 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | 53 | | |
56 | 54 | | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
| |||
0 commit comments