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

This subforum contains all the issues which we already resolved.
NearlyDutch
Inserter
Inserter
Posts: 47
Joined: Tue Oct 20, 2015 12:56 pm
Contact:

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

Post 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"
}
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Thanks for the report, it is fixed for 0.12.27
Post Reply

Return to “Resolved Problems and Bugs”