无法输入小数点 #1654
zhiyong-han
started this conversation in
General
无法输入小数点
#1654
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hc:TextBox.Text
<Binding.ValidationRules>
<hc:RegexRule ErrorContent="Input number !" Pattern="^[0-9].?[0-9]$" />
</Binding.ValidationRules>
</hc:TextBox.Text>
设置正则表达式后,如果输入小数点,请问下怎么正确使用 正则表达式呢?
Beta Was this translation helpful? Give feedback.
All reactions