I am sorry for putting in so many tickets on xTuple 5 but we have a lot of customization to do.
I created a QPlainTextEdit box in the Screen Editor and want to limit the text to digits and decimals only.
So I select the ImhFormattedNumbersOnly box and save to database and file.
Curiously , the ImhNone is also selected and can not be un selected.
Reviewing the file showed that the ImhFormattedNumbersOnly was not added to the property, only the ImhNone.
So I change the xml in the file to ImhFormattedNumbersOnly and import and Property Editor has not changed.
But the code in the uiform table shows ImhFormattedNumbersOnly.
So I test the screen and I can enter letters in the textbox
So in my script I add
policy.inputMethodHints = 8192; // set to numbers only, I think
and save and test and I still can add letters to the QPlainTextEdit box
is this a known bug and is there a workaround?