| GeonBit.UI.Entities.TextValidators Namespace |
| Class | Description | |
|---|---|---|
| ITextValidator |
A class that validates text input to make sure its valid.
These classes can be added to any TextInput to limit the type of input the user can enter.
Note: this cannot be an interface due to serialization.
| |
| OnlySingleSpaces |
Make sure input don't contain double spaces or tabs.
| |
| SlugValidator |
Make sure input contains only letters, numbers, underscores or hyphens (and optionally spaces).
| |
| TextValidatorEnglishCharsOnly |
Make sure input contains only english characters.
| |
| TextValidatorMakeTitle |
Make sure input is always title, eg starts with a capital letter followed by lowercase.
| |
| TextValidatorNumbersOnly |
Make sure input is numeric and optionally validate min / max values.
|