As a developer, I want to address the feedback from the UserFormComponent PR so that the modal looks correct, facility/contact search works, and password error messages display properly.
Changes needed
- Modal size — increase the modal width and height to match the original AngularJS tool
- Select2SearchService — fix the facility and contact Select2 dropdowns so creating and editing users is possible
- Password error interpolation — fix the
password.length.minimum translation key so {{minimum}} is replaced with the actual value (8)
Acceptance Criteria
- Modal size matches the original tool
- Facility and contact Select2 dropdowns initialise and work correctly when creating or editing a user
- Existing facility and contact values are pre-populated when editing
- Password too-short error shows the actual minimum length, not the raw interpolation variable
As a developer, I want to address the feedback from the UserFormComponent PR so that the modal looks correct, facility/contact search works, and password error messages display properly.
Changes needed
password.length.minimumtranslation key so{{minimum}}is replaced with the actual value (8)Acceptance Criteria