vue-atlas icon indicating copy to clipboard operation
vue-atlas copied to clipboard

[Feature request] Form item warnings and errors

Open rejifald opened this issue 6 years ago • 2 comments
trafficstars

I suggest to add special props to va-form-item, or slots, or even both, where can be placed errors and warnings. WDYT ?

rejifald avatar Feb 19 '19 20:02 rejifald

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?

nvms avatar Feb 19 '19 21:02 nvms

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.

  1. Call validation before submit
  2. Call validation when input lost focus at the first time It will be very convenient.

rejifald avatar Feb 19 '19 22:02 rejifald