Skip to content
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 degree and employment form fields #5034

Merged
merged 1 commit into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions static/js/components/EducationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class EducationForm extends ProfileFormFields {
true
)}
</Grid>
<Grid item xs={4}>
<Grid item md={4} sm={6} xs={12}>
<CountrySelectField
stateKeySet={keySet("school_state_or_territory")}
countryKeySet={keySet("school_country")}
Expand All @@ -418,7 +418,7 @@ class EducationForm extends ProfileFormFields {
{...this.defaultInputComponentProps()}
/>
</Grid>
<Grid item xs={4}>
<Grid item md={4} sm={6} xs={12}>
<StateSelectField
stateKeySet={keySet("school_state_or_territory")}
countryKeySet={keySet("school_country")}
Expand All @@ -428,7 +428,7 @@ class EducationForm extends ProfileFormFields {
{...this.defaultInputComponentProps()}
/>
</Grid>
<Grid item xs={4} key="school_city">
<Grid item md={4} sm={6} xs={12} key="school_city">
{/* eslint-disable-next-line no-invalid-this */}
{this.boundTextField(keySet("school_city"), "City")}
</Grid>
Expand Down
6 changes: 3 additions & 3 deletions static/js/components/EmploymentForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,23 @@ class EmploymentForm extends ProfileFormFields {
<Grid item xs={12}>
{this.boundTextField(keySet("company_name"), "Name of Employer")}
</Grid>
<Grid item xs={4}>
<Grid item md={4} sm={6} xs={12}>
<CountrySelectField
stateKeySet={keySet("state_or_territory")}
countryKeySet={keySet("country")}
label="Country"
{...this.defaultInputComponentProps()}
/>
</Grid>
<Grid item xs={4}>
<Grid item md={4} sm={6} xs={12}>
<StateSelectField
stateKeySet={keySet("state_or_territory")}
countryKeySet={keySet("country")}
label="State or Territory"
{...this.defaultInputComponentProps()}
/>
</Grid>
<Grid item xs={4}>
<Grid item md={4} sm={6} xs={12}>
{this.boundTextField(keySet("city"), "City")}
</Grid>
<Grid item xs={12}>
Expand Down