Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

[Feature request] Form item warnings and errors #76

Open
rejifald opened this issue Feb 19, 2019 · 2 comments
Open

[Feature request] Form item warnings and errors #76

rejifald opened this issue Feb 19, 2019 · 2 comments

Comments

@rejifald
Copy link
Contributor

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

@nvms
Copy link
Owner

nvms commented Feb 19, 2019

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?

@rejifald
Copy link
Contributor Author

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.

@nvms nvms changed the title FR - Form item warnings and errors [Feature request] Form item warnings and errors Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants