File tree 1 file changed +2
-2
lines changed
src/react-chayns-amountcontrol
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ You can set the following props on a AmountControl element:
37
37
| onRemove | Function that is called when the user click on the remove button | function | |
38
38
| equalize | Equalizes a set of AmountControls (see examples) | string | |
39
39
| disabled | Disables all buttons and inputs | bool | |
40
- | disableAdd | Disables the add button | bool | |
40
+ | disableAdd | Disables the add button and prevents adding items using the input | bool | |
41
41
| disableInput | Disables the input field (forces the user to use the control-buttons) | bool | |
42
- | disableRemove | Disables the remove button | bool | |
42
+ | disableRemove | Disables the remove button and prevents removing items using the input | bool | |
43
43
| autoInput | Shows an input at amount >= 10 | bool | false |
44
44
| showInput | Shows the input as long the buttons are not disabled | bool | false |
45
45
| buttonFormatHandler | A function that should return the button-content | func | |
You can’t perform that action at this time.
0 commit comments