Open zwl1619 opened 8 years ago
chosenfruite
was outside of the data
property. It should be initialized in the data, like the items
array.
Example: https://jsfiddle.net/0od4hwmh/3/
@LinusBorg
it doesn't work.
Well, my provided example does work: it sets chosenfruite
correctly, and no warning is displayed.
What does not work for you?
this is my code, https://jsfiddle.net/0od4hwmh/2/ it can be running when pick it out, but when put it in my project of laravel 5.3, there is an error:
What is the probable problem?