mono
mono copied to clipboard
form elements: copy for descriptions being changed unnecessarily
Which generators are impacted?
- [X] All
- [ ] HTML
- [ ] React
- [ ] Angular
- [ ] Vue
- [ ] Web components
- [ ] Power Apps
Reproduction case
When switching between the different states of formelements like e.g. a required
textarea the text content of the invalid HTML element (.db-textarea:has(textarea:required) .db-infotext
) changes in between todo and the validation message that gets retrieved by the element on invalid state.
Expected Behaviour
There shouldn't be a reason for the copy to change.
Screenshots
No response
Browser version
None
Add any other context about the problem here.
Most likely the solution will be part of https://github.com/db-ui/mono/issues/2624, as we should provide the copy of the message dynamically, instead of switching the HTML elements.