-
Notifications
You must be signed in to change notification settings - Fork 2
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: Form submission #24
Conversation
Save | ||
</Button> | ||
</DialogActions> | ||
<form onSubmit={() => handleUpdateProfile(profile.id)}> |
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.
Removed required
on all textfields
defaultValue={jobApplication.salaryRange} | ||
/> | ||
<TextField | ||
id="salaryRange" |
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.
Good call to make salary range not a hard requirement
</LocalizationProvider> | ||
|
||
<TextField | ||
required | ||
id="description" |
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.
similarly, good call
/> | ||
|
||
<DialogContent /> | ||
<FormControl sx={{ minWidth: 120 }} variant="standard" size="small"> | ||
<InputLabel id="status-label">Status</InputLabel> | ||
<Select | ||
disabled={isNew} |
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.
um....now I see what you meant by setting it default do open
. I think this makes over 90% of the use case. I like that.
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.
Thanks @oseasmoran73 for testing it and making the improvement. Great decision!
Description
This PR fixes the following:
required
being enabled, there was not a form controller to handle the request. See new outputStatus
should be defaulted to Open and disabled Bug: Adding a job application should default to open #23