You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
I'm using your form theme (SolidWorxVuetify/Form/fields.html.twig) wich works well for some pages but I have 2 troubles with v-select :
1/ First, you set the name attribute on the v-select element itself and also on the hidden field associated. It result to have values submitted 2 times when posting the form.
I correct that removing the "name" attribute on v-select and keeping it only on hidden field : <v-{{ type }} :id="'{{ id }}'" .... on line 128
2/ I have troubles with multiple values, Symfony give me "Array to string conversion" error when rendering the form.
I try to tune your code using for exemple: value="{{ value | keys | join(', ') }}" and many others forms but without success, initial values are not selected when opening the combobox.
Vuetify docs is not really clear on how to initialize multiple values using inline HTML definition not from VueJS side.
Have you any ideas ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm using your form theme (SolidWorxVuetify/Form/fields.html.twig) wich works well for some pages but I have 2 troubles with v-select :
1/ First, you set the name attribute on the v-select element itself and also on the hidden field associated. It result to have values submitted 2 times when posting the form.
I correct that removing the "name" attribute on v-select and keeping it only on hidden field :
<v-{{ type }} :id="'{{ id }}'" ....
on line 1282/ I have troubles with multiple values, Symfony give me "Array to string conversion" error when rendering the form.
I try to tune your code using for exemple:
value="{{ value | keys | join(', ') }}"
and many others forms but without success, initial values are not selected when opening the combobox.Vuetify docs is not really clear on how to initialize multiple values using inline HTML definition not from VueJS side.
Have you any ideas ?
The text was updated successfully, but these errors were encountered: