Use getFormFields to render select field will cause Vue.js error #175
Labels
type: documentation
This issue means we need to improve docs
type: enhancement
New feature or request
For example, if there is a select field named with "select_option_1" on the form, and when I'm trying to render the form using
getFormFields
as followingThis will trigger the javascript error:
I noticed that "option_value" doesn't be treated as a string type when it was being pushed in
Vuex
.I believe the problem is caused by the logic existed in
_selector_input_store.blade.php
file.The
$formFieldsValue
has been unescaped in the end, is this a bug or a feature?A temporary possible workaround for this issue might be:
The text was updated successfully, but these errors were encountered: