TextInputFilter
此内容尚不支持你的语言。
constTextInputFilter:object
Defined in: sdk/src/ui/text/text-input.ts:11
Which characters a field accepts as they are typed or pasted. The rest never reach value: they are
removed from the field itself, so what is on screen and what a script reads are the same.
Type Declaration
Section titled “Type Declaration”Decimal
Section titled “Decimal”
readonlyDecimal:2=2
0-9, a point and a minus sign, for a number that may have a fraction or be negative.
Digits
Section titled “Digits”
readonlyDigits:1=1
Only 0-9, for a count or a price.
readonlyNone:0=0
Anything.
readonlyPhone:3=3
0-9 and the characters of a phone number: + * # and -.