rainlab/builder-plugin

Error in parsing model builder options:true. Field: Tag List

webkotlas opened this issue · 2 comments

storm-min.js?v=465:5499 Uncaught Error: The string list value should be an array. Property: options at StringListEditor.BaseEditor.throwError ...

From the documentation:
https://octobercms.com/docs/backend/forms#widget-taglist

options - specifies a method or array for predefined options. Set to true to use model getFieldOptions method. Optional.

Please correct the model validation for fields.yaml. After setting the options to true, the model builder stops working.

This is a known issue. If the builder outputs an array, it expects an array. Some values are hybrids and it results in these JS issues. Added this to the internal tracker for the next iteration of builder.

Thanks!

Fixed as part of #372