Fakultas Ilmu Komputer UI

Commit 1d74e913 authored by Izzan Fakhril Islam's avatar Izzan Fakhril Islam
Browse files

Memperbaiki bug duplicate property pada Edit Profile JSX file

parent 1190fb60
......@@ -33,7 +33,6 @@ export default class EditProfile extends ProfileHandler {
portfolio_link: '',
show_transcript: '',
expected_salary: '',
self_description: '',
intro: '',
skills: '',
form: {
......@@ -254,7 +253,7 @@ export default class EditProfile extends ProfileHandler {
name="self_description"
/>
</Form.Field>
<Form.Field>
<label htmlFor="region">Region</label>
<input
......@@ -342,13 +341,13 @@ export default class EditProfile extends ProfileHandler {
</Form.Field>
<Form.Field>
<label htmlFor="expected_salary">Expected Salary</label>
<input
onChange={this.handleChange}
placeholder="2000000"
<input
onChange={this.handleChange}
placeholder="2000000"
defaultValue = {
this.state.expected_salary === null ? null : this.state.expected_salary
}
name="expected_salary"
name="expected_salary"
/>
</Form.Field>
<Form.Field>
......@@ -1026,4 +1025,4 @@ export default class EditProfile extends ProfileHandler {
<div className="profilePage">{this.updateForm(this.props.route.own)}</div>
);
}
}
\ No newline at end of file
}
# Generated by Django 2.2.8 on 2019-12-06 15:30
# Generated by Django 2.2.8 on 2019-12-06 16:39
import core.lib.validators
import core.models.accounts
......
......@@ -5684,7 +5684,7 @@
"eslint-scope": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
"integrity": "sha1-6HyIh8c+jR7ITxylkWRcNYv8j7k=",
"integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
"dev": true,
"requires": {
"esrecurse": "^4.1.0",
......@@ -5694,7 +5694,7 @@
"estraverse": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
"integrity": "sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0=",
"integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
"dev": true
},
"fast-levenshtein": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment