The LDAP auth provider form passes :validation-passed="true" unconditionally to CruResource. As a result:
- The Enable button is never disabled, regardless of field state
- Fields marked as required have no validation logic behind them
- The user has no client-side indication of what is wrong before form submission
- No inline error tooltip appears on blur for any field
Expected behavior
- Blurring an empty required field should display an inline error tooltip
- The Save button should be disabled until all required fields contain a value
- The validation state driving the button and the inline error hints should come from the same source so they are always consistent with each other
Steps to reproduce
- Navigate to Users & Authentication => Auth Providers and select a LDAP auth provider
- Leave all fields empty
- Observe that the save button is active and clickable
- Click the save button. The form submits and returns a server error instead of validating locally
- Clear an individual field and click elsewhere. No error tooltip appears
Acceptance criteria
The LDAP auth provider form passes
:validation-passed="true"unconditionally to CruResource. As a result:Expected behavior
Steps to reproduce
Acceptance criteria
:validation-passedis no longer hardcoded to true