I have an input field with attribute that is integer type and I have set the default value to 0001 but when I run the app and the screen pops up, it show “1” instead of “0001”. I tried manually typing “0001” but it goes back to “1”. My requirement it have that field in range of 0001-9999. I am sure it is simple but I just can’t figure it out.
If you need to display the leading zeros I suggest using a string instead of an integer, you can then convert that into an integer and do validation logic to ensure it’s within your range.