So i have an array of values in vue.js, but problem is that i need to pass that values to controller. Any suggestion how can i do that, or is that a wrong way?
This is in my vue.js where i get values:
additional_features: this.additionals_features
This is my controller
$additional_features = $request->input('additionals_features');
This is my html:
<input type="hidden" v-model="property_credentials.additional_features" name="additional_feature[]" value="@" />
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire