11-23-2013 01:06 PM
I want to input a float number like 3.42 in a textbox.
The problem is that the number keyboard doesn't have the period, so I wanted to do a simple stuff like this on onChanged:
var mytext = textfield.text; mytext.replace("*","."); textfield.text = mytext;
(so the user could use * as a period for decimals)
But it doesn't work. String.replace isn't supported in QML? Or I'm doing something wrong?
Solved! Go to Solution.
11-23-2013 04:48 PM
11-23-2013 04:50 PM
11-23-2013 05:01 PM
11-23-2013 05:04 PM
11-23-2013 05:13 PM