thunkable / thunkable-issues

24 stars 9 forks source link

Field type numberic #1118

Open THEb0nny opened 2 years ago

THEb0nny commented 2 years ago

Good afternoon, why, if we select numeric for the field, then we can still enter anything from the computer?

And I will answer. Because the field type remains text, not number, as I did in the browser inspector.

https://drive.google.com/file/d/1Ro5FwzgZmMs33hiORntlKS69-KKgaO_c/view?usp=sharing

https://drive.google.com/file/d/1rZ4mSv-FP-uvteKPa15VHAACy4PX2beg/view?usp=sharing

jaredgibb commented 2 years ago

HI. do you mean when you publish your app as a web app?

THEb0nny commented 2 years ago

HI. do you mean when you publish your app as a web app?

No difference. If you look at the test from the phone, I can enter non-numbers from the PC. Now I looked at the web version, it also misses letters.

jaredgibb commented 2 years ago

I understand what you're saying. That selection does not engage in character validation, instead it controls what type of keyboard is displayed on mobile devices. For now, you can include some validation in your blocks. I will put this in as a feature request though as it would be a nice feature to occur automatically.