Frontmatter
| id | 3201 |
| title | form.field.Text: styling for invalid values |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 27, 2022, 11:00 AM |
| updatedAt | Jun 27, 2022, 11:05 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3201 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 27, 2022, 11:01 AM |
currently, form.fields are using a DOM level based pseudo selector to mark the validity.
this needs to change, e.g. in case we create a form for creating a new entity, we most likely want the fields to look "clean" => no "red borders" (error indicators).
as a first step, we should remove the DOM based selector rules and use the neo
neo-invalidrule instead.this will apply a border on the wrapperEl in case this exists => same level as the active border.
for now, i think the active state should have a prio compared to errors (a bit like validate on blur), but this could be optional (follow up ticket).