I am having an issue with Yosemite and Native textfields. I am on daily build 2468 and on my first screen I have a native.textfield and now get an error:
“attempt to index upvalue ‘searchTxt’ (a string value)”
searchTxt looks like this in my code:
searchTxt = native.newTextField( searchBkg.x-searchBkg.width/2+135, searchBkg.y, 230, tHeight,textListener ) searchTxt.font = native.newFont( native.systemFont, inputFontSize ) searchTxt:setTextColor(1,1,1) searchTxt.hasBackground = false searchTxt.placeholder = "Search..."
so its not a string at all. Code and everything worked fine prior to upgrading to Yosemite, and I have read about the OpenGL bug but that was taken care of after daily build 2437. Can someone else confirm/not confirm that native.newTextField is working with Yosemite and a daily build after 2437?
*UPDATE: All my apps that contain native.newTextField all crash with the same error. So there seems to definitely be something wrong with native display objects still