Arrays : render an empty array by default without any element inside it
enlight3d opened this issue · 2 comments
Describe the bug
which template:
- MaterialDesignFrameworkModule — Material Design
- Bootstrap3FrameworkModule — Bootstrap 3
- Bootstrap4FrameworkModule — Bootstrap 4
- NoFrameworkModule — plain HTML
- Other (please specify below)
I'm searching for a way to have an array inside an object but which would not be of type "required" and that would not be populated by default with one element until you click on the "add" button.
To Reproduce
Steps to reproduce the behavior:
N/A
Expected behavior
Something like "minItems" defined in the schema part that would work with also the fact that the key being present in "required" array or not to auto populate the array with one element or not.
Desktop (please complete the following information):
- OS: OSX
- Browser : Chrome
- Version : 88.0.4324.182
- Angular Version : 11
- AJSF Version : 0.4.0-beta.2
Im also looking for this. @enlight3d did you ever find a way?
Im also looking for this. @enlight3d did you ever find a way?
nope, I abandoned using this as it was too restrictive for my needs 😞