Skip to content

Commit

Permalink
changed airport input labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Leopold committed Jan 24, 2021
1 parent e3e046a commit 5310eaa
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/FlightForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class FlightForm extends Component {
this.handleChange = this.handleChange.bind(this);
this.handleClick = this.handleClick.bind(this);
this.handleOptionClick = this.handleOptionClick.bind(this)
this.handleCountryValueChange = this.handleCountryValueChange.bind(this)
// this.handleCountryValueChange = this.handleCountryValueChange.bind(this)
this.handleInput = this.handleInput.bind(this)
}

Expand Down Expand Up @@ -142,12 +142,12 @@ class FlightForm extends Component {
}

// For countrySelect
handleCountryValueChange = function(event) {
const name = event.target;
this.setState({
country: name.value
})
};
// handleCountryValueChange = function(event) {
// const name = event.target;
// this.setState({
// country: name.value
// })
// };

// For DatePicker
handleChange(name, value) {
Expand Down Expand Up @@ -247,7 +247,7 @@ class FlightForm extends Component {

<Row>
<Col sm={12} md={3} lg={3} xl={3} className="inputBox dport">
<label>Departure Airport Code</label>
<label>Departure Airport</label>
<input
type="text"
name="originPlace"
Expand All @@ -262,7 +262,7 @@ class FlightForm extends Component {

</Col>
<Col sm={12} md={3} lg={3} xl={3} className="inputBox aport">
<label>Arrival Airport Code</label>
<label>Arrival Airport</label>
<input
type="text"
name="destinationPlace"
Expand Down

0 comments on commit 5310eaa

Please sign in to comment.