vue-atlas
vue-atlas copied to clipboard
[Feature request] Form item warnings and errors
trafficstars
I suggest to add special props to va-form-item, or slots, or even both, where can be placed errors and warnings. WDYT ?
this would be for you to define a location for the errors generated by the child component's validation, overriding the default location?
or am I misunderstanding?
I think it's just for case when i will want to put there icon... But maybe it's not important, because we can use built-in style. But what is actually great thing, in my opinion, is built-in validation behavior.
- Call validation before submit
- Call validation when input lost focus at the first time It will be very convenient.