BUG:关于null-able值属性的验证 [英] BUG: The Validation about null-able value property
问题描述
您好,
在屏幕上,尝试在'null-able number property'中输入字符串。
It会导致检查错误,没关系 - 按设计。
如果我清理字符串,请使用EMPTY。错误仍然存在。
删除此类错误的棘手方法是:输入任意数字,例如11,然后清除它们,再次使用EMPTY离开。
错误MSG将消失。
因此,这是一个处理'null-able'条件的BUG。 / p>
Bob
我无法重现问题如上所述。这些是我使用的重复步骤:
- 创建新的LightSwitch项目。
- 使用非必需的整数属性创建新实体。
- 在此实体集上创建新列表和详细信息屏幕。
- F5。
- 添加具有非空值(例如0)的新实体实例实体的一个属性 并保存。
- 在屏幕的详细信息侧选择文本框中的所有文本,键入字符串值(例如"string"),然后选项卡关闭。
- 显示转换错误,并按预期将值恢复为之前的值(例如0)。
- 选择屏幕详细信息侧的文本框中的所有文本,清除值,然后关闭选项卡。
- 没有显示任何错误。
请用特定的复制步骤描述您的场景,或告诉我如何增强我的场景以重现您所看到的问题
Hello,
On Screen, try to enter string into the 'null-able number property'.
It will cause checking error, it is OK - by design.
If I clean the string, leave with EMPTY. The error still hangs up.
The tricky way to remove such error MSG is : enter any number , for example 11, then clean them, leave with EMPTY again.
The error MSG will disappear.
So , this is a BUG to handle the 'null-able' condition.
Bob
I cannot reproduce the problem as described. These are the repro steps that I used:
- Create new LightSwitch project.
- Create new entity with a non-required integer property.
- Create new list and details screen over this entity set.
- F5.
- Add new entity instance with a non-null value (e.g. 0) for the entity's one property and save.
- Select all text in text box on the details side of the screen, type in a string value (e.g. "string"), and tab off.
- Conversion error is shown and value is reverted to previous value (e.g. 0), as expected.
- Select all text in text box on the details side of the screen, clear the value out, and tab off.
- No errors are shown.
Please describe your scenario with specific reproduction steps or tell me how to augment mine to reproduce the problem you are seeing.
这篇关于BUG:关于null-able值属性的验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!