lewisjenkins / craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.
Other
147 stars 11 forks source link

Default option set to "true" not working #34

Closed scandella closed 4 years ago

scandella commented 5 years ago

Hi, When using the boilerplate example: { "value":"jim", "label":"Jim Beam" }, { "value":"jack", "label":"Jack Daniels", "default":true }, { "value":"mark", "label":"Maker's Mark" }, { "value":"rebel", "label":"Rebel Yell", "default":true }

it crashes:

[] operator not supported for strings

In my own use of the default option, It crashes too. "False" option do not raise an error.

Thanks for your help

lewisjenkins commented 4 years ago

Unable to reproduce so closing this issue. Please feel free to re-open if you're still having a problem.