-
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.复现步骤:
Steps:
Describe the solution you'd like
Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@mrtonyguo Thank you for contacting us. We will give feedback later. |
Beta Was this translation helpful? Give feedback.
-
@mrtonyguo 抱歉回复的晚了 绑定类型为不可为空类型点击组件获取焦点,全选数字,按退格键或者删除键,全部删除时,网页为 绑定类型为可为空类型全部删除后网页为 总结歧义是网页返回 这里可以设置一个参数,两种需求都合理。 暂定参数为 已发布 |
Beta Was this translation helpful? Give feedback.
@mrtonyguo 抱歉回复的晚了
绑定类型为不可为空类型
点击组件获取焦点,全选数字,按退格键或者删除键,全部删除时,网页为
null
值,空值对不可为空类型是非法值,所以恢复500
如果改成0
这并不合理,可能对某些需求合理绑定类型为可为空类型
全部删除后网页为
null
值,数值也为null
值无歧义总结
歧义是网页返回
null
时,是保持原有值,还是变成绑定类型默认值这里可以设置一个参数,两种需求都合理。
暂定参数为
AutoSetDefaultWhenNull
默认 false 保持目前行为,设置为true
时符合你的预期已发布
v8.7.5