We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When working with dynamically created form, validation errors don't display.
<x-splade-form default="{ receivers : [ { full_name: '', } ], }" > <template v-for="(receiver, index) in form.receivers" key="index"> ... // this works <x-splade-input v-model="receiver.full_name" label="Full Name" validation-key="receivers.0.full_name" class="mb-2" /> // this fails <x-splade-input v-model="receiver.full_name" label="Full Name" validation-key="`receivers.${index}.full_name`" class="mb-2" /> ... </template> </splade-form>
Seems the validation-key attribute does not parse its value like v-text <span v-text="`receivers.${index}.full_name`"></span>does
validation-key
v-text
<span v-text="`receivers.${index}.full_name`"></span>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
When working with dynamically created form, validation errors don't display.
Steps To Reproduce Issue:
Seems the
validation-key
attribute does not parse its value likev-text
<span v-text="`receivers.${index}.full_name`"></span>
doesThe text was updated successfully, but these errors were encountered: