Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…one number field
WHAT
🤖 Generated by Copilot at a385a06
This pull request enables the country selector for phone number inputs in various forms throughout the application. This improves the consistency and usability of the phone number input component, and fixes the issue #1729 of inconsistent phone number formats for different countries. The pull request modifies the
PhoneNumberFormField
component and its usage in several files, such asShiftCreate.tsx
,UserAdd.tsx
,FacilityCreate.tsx
, andResourceCreate.tsx
.Proposed Changes
disableCountry
prop fromPhoneNumberFormField
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at a385a06
disableCountry
prop from thePhoneNumberFormField
component and enable the country selector for the phone number inputs in various forms (link, link, link, link, link, link, link). This change affects theFacilityCreate
,ShiftCreate
,ResourceCreate
, andUserAdd
components in thesrc/Components
directory, and is intended to resolve the issue added result filter in SampleTest #1729.