Added prevent default to formfield price onWheel
This commit is contained in:
parent
4eb324363c
commit
1ec3742fcf
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ export class FormFieldPrice extends React.PureComponent<Props> {
|
||||||
className="form-field--price-amount"
|
className="form-field--price-amount"
|
||||||
min={min}
|
min={min}
|
||||||
value={price.amount}
|
value={price.amount}
|
||||||
|
onWheel={e => e.preventDefault()}
|
||||||
onChange={this.handleAmountChange}
|
onChange={this.handleAmountChange}
|
||||||
placeholder={placeholder || 5}
|
placeholder={placeholder || 5}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
|
Loading…
Add table
Reference in a new issue