Closed
Description
Repro steps:
- Visit the demo
- Enter
[*]
for the form and the following schema:
{
"type": "object",
"properties": {
"flavors": {
"title": "Flavors",
"type": "array",
"items": {
"enum": [
"Chocolate",
"Vanilla"
]
},
"default": ["Chocolate"]
}
}
}
Observe that the "Chocolate" checkbox is not checked.
I believe this is because after ng-init="checkboxValues = {}"
, checkboxValues
is never being set with the default passed in via the schema.