-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
child: EInputNumber(
key: ValueKey(item.id),
height: 34.0,
value: item.inputCount != null ? item.inputCount.toDouble() : 0.0,
min: 0.0,
max: item.selecttype == '0' ? 50.0 : 20.0,
style: EInputNumberStyle(fontColor: theme.textTheme.bodyText2.color),
onChanged: (value) {
onChangedCallBack(item, value);
},
),
这是我使用的代码,当重复操作在输入框输入值,再点击加减按钮后,值会变回之前的值。
Metadata
Metadata
Assignees
Labels
No labels