Frontmatter
| id | 4307 |
| title | form.field.Text: validate() => validator |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Apr 20, 2023, 2:44 PM |
| updatedAt | Apr 20, 2023, 2:45 PM |
| githubUrl | https://github.com/neomjs/neo/issues/4307 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 20, 2023, 2:45 PM |
@Dinkh right now, the validator check happens first and all other rules are inside an else if block.
meaning: if a validator is specified and valid, other rules like
requiredare getting ignored.i think it is nicer in case a validator combines with default validation rules.