vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

Getting label provided with `useField`

Open Razi91 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I want to display a notification with list of validation problems, but I want to display actual labels instead of field paths

Describe the solution you'd like Method .validate() right now returns result as a Record of field path and object that contains fields: valid and errors. It would be nice to see also label there, since it's passed with useField function

Describe alternatives you've considered Observer (Form) could also provide a function to iterate through fields and get their labels

Razi91 avatar Jan 02 '24 10:01 Razi91