Empty FormFieldList validation
zurek11 opened this issue · comments
When I set FormFieldList required to true, empty list will raise an required exception.
I think that required validation should be assigned only to the key (if we think about json as a dictionary) and not to the value.
Maybe adding a new attribute blank
or empty
to the List type forms, to make control above values?
I would like to contribute to it, Please assign it to me
Hello @TusharKuwar, how are you doing? If you have any questions or need some help, feel free to ask
Hello @Sibyx , Thank you for contacting.
So , I wanted to understand how field list are design.
As far I was design, As far as I see, Error which we are talking about in this issue , written explicitly in test-cases. Its upto use case what to show.
If I have wrong idea, or missing something, please let me know
Hi @TusharKuwar, problem described in this repository can by resolved by using min_length
and max_length
properties.