-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#173] Prepopulate form fields from profile
In the DeliveryInfoForm component, the phone number validation is updated to accept empty values but require a minimum of 10 digits if provided. Additionally, form fields in FoodRequestForm are now prepopulated with user profile information stored in Vuex, including: - Branch location - Preferred name - Email address - Phone number (which is now read-only to encourage updating in the profile) This streamlines the request submission process by utilizing existing user data, while still allowing updates. The commit also includes minor refactoring and console logging cleanups.
- Loading branch information
Showing
4 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters