epicmaxco / vuestic-ui

Vuestic UI is an open-source Vue 3 component library designed for rapid development, easy maintenance, and high accessibility. Maintained by Epicmax (@epicmaxco).
https://vuestic.dev
MIT License
3.46k stars 338 forks source link

Expose VaValidationMessagesList #2878

Open m0ksem opened 1 year ago

m0ksem commented 1 year ago

Would be nice to have exposed validation messages list if user have some specific component, but it required validation:

<va-form v-model="isValid">
...
<va-validation-messages v-model="thing"  :rules="[(v) => lowpoly && v.vertext.length < 12000 || 'For lowpoly this is a little big object']">
   <My3DObjectUserSelect v-model="thing" />
</va-validation-message>
...
</va-form>

This may work with components, that have some pickers from canvas, some non-vuestic wsyiwyg etc.

aluarius commented 1 year ago

See also https://github.com/epicmaxco/vuestic-ui/issues/2240