added form submission logic with loading state management #78

Merged
vikas.nale merged 1 commits from pramod_Bug#196 into Issue_May_2W 2025-05-08 05:39:25 +00:00
Collaborator

Project Updation by project banner
Issue
When reopening the modal after a form submission, the "Please wait..." state was not being properly retained, leading to the button text not showing as expected.
Fix
handleSubmitForm function to perform the form submission and simulate an asynchronous operation.
onSubmitForm now sets setLoading(true) before submission and resets it after completion.
Updated the form submission logic to ensure proper feedback during the submission process.

_Project Updation by project banner_ **Issue** When reopening the modal after a form submission, the "Please wait..." state was not being properly retained, leading to the button text not showing as expected. **Fix** handleSubmitForm function to perform the form submission and simulate an asynchronous operation. onSubmitForm now sets setLoading(true) before submission and resets it after completion. Updated the form submission logic to ensure proper feedback during the submission process.
pramod.mahajan added 1 commit 2025-05-08 05:21:04 +00:00
vikas.nale merged commit 505c9a46db into Issue_May_2W 2025-05-08 05:39:25 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.web#78
No description provided.