1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-16 00:00:03 +01:00

Remove sizing parameters from number input widget (works on #193)

This commit is contained in:
Sonja Happ 2020-04-07 13:33:34 +02:00
parent 2c77cc46dc
commit 15e3f04111

View file

@ -78,10 +78,10 @@ class WidgetInput extends Component {
<div className="number-input-widget full">
<Form componentclass="fieldset" horizontal="true">
<FormGroup>
<Col as={FormLabel} xs={3}>
<Col as={FormLabel}>
{this.props.widget.name}
</Col>
<Col xs={9}>
<Col>
<InputGroup>
<FormControl type="number" step="any" disabled={ this.props.editing } onKeyPress={ (e) => this.handleKeyPress(e) } onBlur={ (e) => this.valueChanged(this.state.value) } onChange={ (e) => this.valueIsChanging(e.target.value) } placeholder="Enter value" value={ this.state.value } />
<InputGroup.Append>