rawpython / remi

Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.
Apache License 2.0
3.53k stars 402 forks source link

Editor does not support widget type Input #400

Open me21 opened 4 years ago

me21 commented 4 years ago

I was searching for a password input widget and I found the issue #206. There is a solution in that issue. However, when I used the editor, I couldn't find such widget. That means I have to edit the generated code by hand and my edits will disappear when I change something in the editor.

It would be nice to support password input widget in the editor. Thank you!

me21 commented 4 years ago

Update: the editor loaded my app successfully after changing widget type by hand. It displayed Input control. However, I could not find it on the widgets palette and my input_type='password' argument to the constructor of the widget got deleted on save.

dddomodossola commented 4 years ago

@me21 the input type is strictly related to the widget behavior, and so changing it can cause problems. The correct way to do this is to implement the Password widget. I will do it shortly