JavaScript helpers you can use directly in your project
| Name | Tags | Description |
|---|---|---|
| deburr | es6 |
Removes accents and diacritics from text |
| ensure | es6 |
Ensures value is valid |
| isPermitted | es6 |
Checks if the given user role have permission |
| urlBack | es6 |
Gets previous path of the URL |
| composeValidators | ts react-final-form react-intl |
Composes validators |
| maxLength | ts react-final-form react-intl |
Checks if given string exceeds maximum length |
| minLength | ts react-final-form react-intl |
Checks if given string is smaller than minimum length |
| minValue | ts react-final-form react-intl |
Checks if given number is smaller than given number |
| number | ts react-final-form react-intl |
Checks if given value is number |
| required | ts react-final-form react-intl |
Checks if given value is not undefined |
| Name | Tags | Description |
|---|---|---|
| useTranslate | es6 react react-intl |
Translates message |