update it

This commit is contained in:
Sukchan Lee 2017-07-03 00:31:46 +09:00
parent 3702f206b7
commit 1342395158
2 changed files with 1 additions and 2 deletions

View File

@ -224,7 +224,7 @@ class Form extends Component {
transformErrors={transformErrors} transformErrors={transformErrors}
autocomplete="off" autocomplete="off"
onChange={handleChange} onChange={handleChange}
onSubmit={() => onSubmit(this.state.formData)}> onSubmit={data => onSubmit(data.formData)}>
<div> <div>
<button type="submit" ref={(el => this.submitButton = el)}/> <button type="submit" ref={(el => this.submitButton = el)}/>
<style jsx>{` <style jsx>{`

View File

@ -63,7 +63,6 @@ const schema = {
"max_bandwidth_dl": { "max_bandwidth_dl": {
"type": "number", "type": "number",
"title": "Max Requested Bandwidth DL (Kbps)", "title": "Max Requested Bandwidth DL (Kbps)",
"default": 1024000,
"required": true "required": true
} }
} }