Skip to content

Conversation

@thet
Copy link
Member

@thet thet commented Dec 31, 2024

If a dependend field is required but not shown, remove the required attribute.
Restore it once the dependend field is shown.

Ref: scrum-2615

Current state: automated tests, plausability check and battle testing missing.

@thet thet marked this pull request as draft December 31, 2024 16:21
thet added 2 commits December 31, 2024 18:17
If a dependend field is required but not shown, remove the required attribute
Restore it once the dependend field is shown.
@thet thet force-pushed the scrum-2615--depends-validation branch from a7720ba to 5afecb8 Compare December 31, 2024 17:18
@thet
Copy link
Member Author

thet commented Jan 7, 2025

Obsolete since #1210

A disabled input does not participate in form validation nor is it submitted. The required attribute can stay as it is.

Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled

@thet thet closed this Jan 7, 2025
@thet thet deleted the scrum-2615--depends-validation branch January 7, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants