-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable submit button in round type normal if no value selected #6793
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
the above patient have previous record, i haven't copied any record, i didn't filled any fields from physical examination info till rhythm description, still the save button is active, it is expected to be disabled if no data was entered in any of the fields |
f3c1ec2
to
eb79485
Compare
@nihal467 Bug resolved |
@Pranshu1902 @rithviknishad marking it for discussion as now in critical care, the above fields a mandatory thing to fill any of the field, need to get a final confirmation from @gigincg |
@nihal467 @Pranshu1902 as discussed,
|
@nihal467 the form now isn't disabled for |
LGTM |
WHAT
🤖[deprecated] Generated by Copilot at f3c1ec2
Enable different rounds types and form validation for daily rounds. Refactor
Submit
component inDailyRounds.tsx
.Proposed Changes
Disable submit button in round type normal if no value is modified in the form for at least any 1 field
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖[deprecated] Generated by Copilot at f3c1ec2
disabled
state to control the submit button for daily rounds form (link)disabled
state and therounds_type
value to theSubmit
component as props (link)Submit
component when the rounds type is "NORMAL" and the form is not filled (link)DailyRounds.tsx
(link)