Skip to content

2141 enhancement no errors when creating hashlist with missing data#692

Open
correct-horse-battery-bench wants to merge 3 commits into
masterfrom
2141-enhancement-no-errors-when-creating-hashlist-with-missing-data
Open

2141 enhancement no errors when creating hashlist with missing data#692
correct-horse-battery-bench wants to merge 3 commits into
masterfrom
2141-enhancement-no-errors-when-creating-hashlist-with-missing-data

Conversation

@correct-horse-battery-bench
Copy link
Copy Markdown
Contributor

@correct-horse-battery-bench correct-horse-battery-bench commented Jun 1, 2026

Added missing design tokens in light css and do not hide the validation error below the field.

Issue: hashtopolis/server#2141

The previous selector required `.mat-form-field-touched`, which is not a real Material class, so it never matched and the error border silently disappeared. Match invalidity via the `.field-stack.is-invalid` wrapper (custom CVA inputs) and Material's own `.mat-form-field-invalid` (direct formControlName fields), and add the `--destructive-ring` token in light/dark themes.
The error border was restored previously, but the subscript wrapper that
holds Material's error text stayed hidden, so the message never appeared.
Display `.mat-mdc-form-field-subscript-wrapper` when the field-stack is
`.is-invalid` so the validation message shows alongside the red border.

Also scope `ht-table-editable` layout to `:has(.editable-container)` and
drop the stray `.mat-icon` offsets so the message label aligns correctly
inside editable table cells.
@correct-horse-battery-bench correct-horse-battery-bench marked this pull request as ready for review June 1, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT]: no errors when creating hashlist with missing data

1 participant