You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| stringMode | Set value as string to support high precision decimals. Will return string value by `change`| boolean | false | 3.0 |
30
36
31
37
### events
32
38
33
39
| Events Name | Description | Arguments | Version |
34
40
| --- | --- | --- | --- | --- |
35
41
| change | The callback triggered when the value is changed. | function(value: number \| string) |||
36
42
| pressEnter | The callback function that is triggered when Enter key is pressed. | function(e) || 1.5.0 |
43
+
| step | The callback function that is triggered when click up or down buttons | (value: number, info: { offset: number, type: 'up' \| 'down' }) => void | 3.0 |
37
44
38
45
## Methods
39
46
40
47
| Name | Description |
41
48
| ------- | ------------ |
42
49
| blur() | remove focus |
43
50
| focus() | get focus |
51
+
52
+
## FAQ
53
+
54
+
### Why `value` can exceed `min` or `max` in control?
55
+
56
+
Developer handle data by their own in control. It will make data out of sync if InputNumber change display value. It also cause potential data issues when use in form.
57
+
58
+
### Why dynamic change `min` or `max` which makes `value` out of range will not trigger `change`?
59
+
60
+
`change` is user trigger event. Auto trigger will makes form lib can not detect data modify source.
0 commit comments