milanius Posted March 13, 2021 Share Posted March 13, 2021 I have latest UniGUI ver 1.90.0.1546 On desktop browser I can edit decimal numbers but on iPhone Safari browser unfortunately not. I looked at one year old post with the same problem but unfortunately without solution. At this moment is our application completely useless and we are in real troubles... Link to comment Share on other sites More sharing options...
Christian Klein Posted April 24, 2021 Share Posted April 24, 2021 Hi, i had he same problem and I solve the problem in this way. 1. I take the standard edit control TUnimEdit 2. I add the following code to the ClientEvents->ExtEvents.painted function painted(sender, eOpts) { var me=sender.inputElement; if(me) { me.dom.setAttribute('inputmode', 'decimal'); } } 3. In the code I convert the text property to double/float I don't checked this solution with android! Best Christian Link to comment Share on other sites More sharing options...
55143681 Posted June 15, 2021 Share Posted June 15, 2021 On 4/24/2021 at 7:11 PM, Christian Klein said: Hi, i had he same problem and I solve the problem in this way. 1. I take the standard edit control TUnimEdit 2. I add the following code to the ClientEvents->ExtEvents.painted function painted(sender, eOpts) { var me=sender.inputElement; if(me) { me.dom.setAttribute('inputmode', 'decimal'); } } 3. In the code I convert the text property to double/float I don't checked this solution with android! Best Christian without you code, uniGUI1549+CBUILDER10.3.3 + ANDROID works well. Link to comment Share on other sites More sharing options...
Recommended Posts