GuiElement Textfield localised .text
Posted: Thu Sep 15, 2016 8:42 pm
So a lot of gui elements have the .caption tag wich can take localised strings. But when trying to make a placeholder text for a textfield found that the .text tag for Lua/GuiElement textfield does not allow localisation. I can see why this would not matter for the user adding text in the textbox, as it does not have a use for localisation there, but when making a placeholder using the .text tag it makes sense to be able to use it.
Another way of doing this is adding a .placeholder tag in the .add{type = (...)} which does allow localisation, I'd certainly use it.
Another way of doing this is adding a .placeholder tag in the .add{type = (...)} which does allow localisation, I'd certainly use it.