I've worked a little bit on your component to add some features I was missing:
-Added validation of the child items
-Added scheme logic to support the inputName logic to send the form usign standard form submit
-Added the move up and down item command, label and classes
-Added label and class for the remove and add items buttons
-Passed more data to the container component to permit a more complex visualization
-Fixed new element creation deep cloning the default value instead of assigning it directly
-Added example
Hope you will find that helpful and would merge in the main repository.
I've included an optional component to wrap an object into a bootstrap 4 accordion.
What kind of change does this PR introduce? (check at least one)
[x] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:
Does this PR introduce a breaking change? (check one)
I've worked a little bit on your component to add some features I was missing:
-Added validation of the child items -Added scheme logic to support the inputName logic to send the form usign standard form submit -Added the move up and down item command, label and classes -Added label and class for the remove and add items buttons -Passed more data to the container component to permit a more complex visualization -Fixed new element creation deep cloning the default value instead of assigning it directly -Added example
Hope you will find that helpful and would merge in the main repository. I've included an optional component to wrap an object into a bootstrap 4 accordion.
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)