Skip to content

[Users] PR feedback fixes — modal size, Select2, password error interpolation #80

Description

@hectorguillen-blip

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

  1. Modal size — increase the modal width and height to match the original AngularJS tool
  2. Select2SearchService — fix the facility and contact Select2 dropdowns so creating and editing users is possible
  3. 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

Metadata

Metadata

Labels

In ReviewThe work is finished and is currently undergoing peer review or a Pull Request (PR) evaluation.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions