InputText As Password Param for XML
How can I use XML attributes to set InputText to password? I saw an earlier issue how to do it programmatically, but not the XML way.
<InputText label-displayAsPassword="true" />
@RealyUniqueName I added that into my XML and the code compiles, but the password field still shows regular characters.
What target do you compile for?
Windows for testing, but I plan to release for mobile (iOS, Android) and HTML5 in the near future.
Perhaps displayAsPassword is not supported in current OpenFL version: https://github.com/openfl/openfl/blob/28984d5e4145f559c46aea2daa0ec9c9fa009508/openfl/_internal/renderer/cairo/CairoTextField.hx#L134
Can you try simple openfl.text.TextField with displayAsPassword?
If it does not work, then it can be implemented in StablexUI only with extending InputText.
According to OpenFL feature matrix displayAsPassword is currently not supported.
However you can try to compile your project with NME instead of OpenFL. As far as i remember this feature is implemented in NME.