Fix stock quantity input on change.
This commit is contained in:
parent
a36788dfb4
commit
e2f163c2f2
|
@ -47,8 +47,8 @@ class ProductStockCard extends Component {
|
|||
} );
|
||||
}
|
||||
|
||||
onQuantityChange( quantity ) {
|
||||
this.setState( { quantity } );
|
||||
onQuantityChange( event ) {
|
||||
this.setState( { quantity: event.target.value } );
|
||||
}
|
||||
|
||||
updateStock() {
|
||||
|
|
Loading…
Reference in New Issue