You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the code of the array.html, I see that the remove button is supposed to be disabled when the array is <= minItems and similarly add is supposed to be disabled when the array is >= maxItems; however that doesn't seem to work.
You can see it on the schema form demo itself.
Expected behaviour
add and remove button to be disabled, based on maxItems and minItems, respectively.
Actual behaviour
maxItems is set to 2, but the add button is never disabled, no matter how many you add. Same for the remove button if you set minItems.
Looking at the code of the array.html, I see that the remove button is supposed to be disabled when the array is <= minItems and similarly add is supposed to be disabled when the array is >= maxItems; however that doesn't seem to work.
You can see it on the schema form demo itself.
Expected behaviour
add and remove button to be disabled, based on maxItems and minItems, respectively.
Actual behaviour
maxItems is set to 2, but the add button is never disabled, no matter how many you add. Same for the remove button if you set minItems.
Gist/Plunker/Demo
Schema Form Demo
The text was updated successfully, but these errors were encountered: