Closed susnux closed 6 months ago
@jancborchardt I am not sure about using the note card for validation / showing the error. What do you think?
@jancborchardt I am not sure about using the note card for validation / showing the error. What do you think?
I think it looks nice and we could also use this for the other questions :)
Could you please add some documentation here? https://github.com/nextcloud/forms/blob/main/docs/DataStructure.md#extra-settings
And as I stated in the other comment we should add the new extraSettings to the docs. And we should make sure that the min number can't be bigger than the max number. :)
Both fixed and also added a test for the options :)
Could you do another rebase so that we also have a Codecov update here?
:wink:
Yes but last time I did that something regarding the signing went wrong 🙈
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 45.02%. Comparing base (
82189a5
) to head (b7404cc
).
This allows to set a minimum and maximum of options that can or must be selected. E.g. you can enforce max. 3 options to be selected.
Other changes needed:
Screenshots