Skip to content

Commit

Permalink
fix degree and employment form fields (#5034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Umar Asghar authored Sep 17, 2021
1 parent c76de51 commit d2e389c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit d2e389c

Please sign in to comment.