-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix Remove required mark #9 changes #13
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for happeningsoflife ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Save tooltip misaligned @Blueclaus13 |
<Button key="cancelButton" onClick={()=>{closeModal()}}>Cancel</Button>, | ||
<Tooltip key="saveTooltip" placement="top" title="Save available when title and date are filled in" > | ||
<Button key="saveButton"type="primary" onClick={() =>{onFinish(form.getFieldsValue());}} | ||
disabled={valueDate !== "" && valueTitle !== "" ? false : true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of maintaining two states, we can get the values by using form.getFieldValue() provided by antd.
Can you please check @Blueclaus13
@Blueclaus13
|
I did some corrections issue #9