fix: clearInout on Nodule empties label
also made join nodule form add params button full width
This commit is contained in:
parent
dbd220ec8d
commit
2d318f270a
@ -156,9 +156,8 @@ class CreateJoinNoduleForm extends Component {
|
||||
options={this.getForeignHeadersDropDownOptions()}
|
||||
onChange={this.handleForeignKeyChange}
|
||||
/>
|
||||
<br />
|
||||
|
||||
<Button animated='vertical' onClick={this.addJoinParam}>
|
||||
<Button fluid animated='vertical' onClick={this.addJoinParam}>
|
||||
<Button.Content hidden><Icon name='add' /></Button.Content>
|
||||
<Button.Content visible>Add</Button.Content>
|
||||
</Button>
|
||||
|
@ -33,6 +33,7 @@ class CreateNodule extends Component {
|
||||
|
||||
clearInput = () => {
|
||||
this.setState({ noduleType: '' })
|
||||
this.noduleLabelInput.current.inputRef.current.value = ''
|
||||
this.tableSelect.current.clearTablesSelected()
|
||||
}
|
||||
|
||||
@ -123,7 +124,7 @@ class CreateNodule extends Component {
|
||||
{ this.renderNoduleForm() }
|
||||
|
||||
<div className='creatTableFormSubmitButtons'>
|
||||
<Button content='Cancel' secondary />
|
||||
<Button content='Cancel' secondary onClick={this.clearInput} />
|
||||
<Button content='Confirm' primary onClick={this.handleSubmit} />
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user