I have some text fields on my project.
I want that input types of text fields are only one type. For example credit card number text field’s input must be only decimals and user enter another type character, it will remove or not accept in the text field.
Sorry my bad english.
you can declare like the below and use
and we can use like this also