Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch MUIA_String_Secret on the fly #354

Closed
walkero-gr opened this issue Aug 30, 2021 · 2 comments
Closed

Switch MUIA_String_Secret on the fly #354

walkero-gr opened this issue Aug 30, 2021 · 2 comments
Assignees

Comments

@walkero-gr
Copy link

walkero-gr commented Aug 30, 2021

Is it possible to switch a string field that is set with MUIA_String_Secret to TRUE, to FALSE on the fly? Let's say that I have a password field which I would like the user to be able to show, if he clicks on a button.

It tried with set() and with DoMethod(), but it didn't work. Or I might miss something.

Do you have any recommendation or a hint for this?

Thank you for your help.

@tboeckel
Copy link
Contributor

MUIA_String_Secret is in fact OM_SET'able, although the documentation does not (yet) reflect this fact. The real bug is that the String object is not updated graphically when MUI_String_Secret is modified.

@tboeckel tboeckel self-assigned this Aug 31, 2021
@tboeckel tboeckel added this to the MUI 5.0-2021R1 milestone Aug 31, 2021
@tboeckel
Copy link
Contributor

Fixed in the next nightly build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants