Actions
Improvements #14234
openAdd validate(type) to Typed Validators
Start date:
01/04/2026
Due date:
% Done:
90%
Estimated time:
Description
Currently, All Typed Validators only accept WString
It would be fantastic to have an overload of validate() that takes the Type of the Validator...
This would help to run a Serverside Validation on a Programatic Level as well.
Keeping the interface Consistent if the chance to use it presents itself.
I am building a widget that does not have text input, but outputs a number. (Star Rating Widget)
I added a patch that Implements validate() for each Typed Validator:
- WDateValidator
- WDoubleValidator
- WIntValidator
- WTimeValidator
using the internal algorithm after parsing. Then using that new function instead of copying code
Files
Updated by Christian Meyer 2 months ago
Would have liked to Change this into review ... but forgot I have no access...
Updated by Christian Meyer 2 months ago
- File wt_TypedValidator.patch wt_TypedValidator.patch added
every time the same trouble with the line endings ...
need a better process in this regard =D
Actions