I am using textfield xtype to take input from dialog which is a numeric input , i have put regex for number as well . It is stroing data in string format only.
I have tried numberfield as well but same results.
Please suggest something to store value as long or decimal data type.
Note: - When stored programatically from java program it is storing in Long fromat as the data type selected was Long. Not same behaviour in case of dialog.
If you have this requirement then why dont you use xtype "numberfield" instead of "textfield" becasue by default textfield support only these inputtype "radio, text, password, file" and store it as string only and i dont think there is anything OOTB which allows you to do that.
Hi Pawan ,
I have used numberfield as well . It also stores data in string format . It just restricts to enter text data with predefined validations .
Let me know if you come across any solution to it .
Pass hidden field with @TypeHint