Page 1 of 1

[0.12.26] [kovarex] textfield.text not used when adding element

Posted: Sat Mar 12, 2016 2:20 pm
by NearlyDutch
Hey,

during some modding I found the issue that, when I add a textfield to a GUI with the text-attribute set to a string value, the value will not be shown in-game when the GUI is created. The textfield stays empty. If I change the text-attribute then via console command, the new value is instantly displayed in the textfield.

Code to add textfield:

Code: Select all

table_element.add{
		type = "textfield",
		name = "rosc-settings-name",
		text = "example value"
}

Re: [0.12.26] [kovarex] textfield.text not used when adding element

Posted: Mon Mar 14, 2016 12:28 pm
by kovarex
Thanks for the report, it is fixed for 0.12.27