编辑 | blame | 历史 | 原始文档

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the element that you want to label
[min] number Minimum number value
[max] number Maximum number value
[step] number 1 Step for value increment/decrement
[defaultValue] number Default number value; will be added automatically to result for required fields
[hotkey] string Hotkey for increasing number value
[required] boolean false Whether number is required or not
[requiredMessage] string Message to show if validation fails
[perRegion] boolean Use this tag to classify specific regions instead of the whole object
[perItem] boolean Use this tag to classify specific items inside the object instead of the whole object
[slider] boolean false Use slider look instead of input; use min and max to add your constraints