powermail icon indicating copy to clipboard operation
powermail copied to clipboard

[FEATURE] Validator for multi-select and multi-checkbox inputs

Open rr-it opened this issue 2 years ago • 1 comments

The validator design takes account of text-inputs only.

For multi-select and multi-checkbox inputs it might be usefull to validate like:

  • At least 2 options are selected.
  • A maximum of 3 options are selected.
  • At least 1 and a maximum of 5 options are selected.

Would you mind to accept validators like these to be added to the powermail core funtionality? Or are these to be implemented by extending powermail in a custom extension?

rr-it avatar Nov 22 '23 15:11 rr-it

Currently we try not to add features to EXT:powermail. We call it basically feature complete, as we must maintain all additional code also in the future.

If you provide it as a PR, we will definitly have a look into it. The other (faster) possibility is, to provide an extending extension.

mschwemer avatar Aug 09 '24 16:08 mschwemer