We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the example in the "Treeview" section I got a error.
I tried to use the example on the "onSelect" event it worked until clicked on the "Child Node" but it showed this error.
Code I used for example 1
From me testing it seems like that this was the problem:
childNode.onSelect(function(self) basalt.debug("Node selected:", self.getText()) end)
The self.getText() was making the error come it says that
self.getText()
attempt to call method 'getText' (a nil value)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
** Where? **
In the example in the "Treeview" section I got a error.
![image](https://private-user-images.githubusercontent.com/192646211/399539242-a7032bf7-d425-4cd3-85de-f92e563b229b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NTM1NjcsIm5iZiI6MTczODg1MzI2NywicGF0aCI6Ii8xOTI2NDYyMTEvMzk5NTM5MjQyLWE3MDMyYmY3LWQ0MjUtNGNkMy04NWRlLWY5MmU1NjNiMjI5Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQxNDQ3NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yM2Q4ODQwNWUzMTkyNWFmZjVlNmU0Njg5YTFmYTdjMDA1YTcxNWMyMWUxMWJhNTlhYjk0ZjE2NWJkY2IyNjQ1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.B_VXOjVNSiMXH9I-T6RF7eIzOD8fbiPh3gPaLPOqQbU)
** Possible solution **
I tried to use the example on the "onSelect" event it worked until clicked on the "Child Node" but it showed this error.
![image](https://private-user-images.githubusercontent.com/192646211/399539469-1b63ac54-217d-4c8f-839d-89895705a277.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NTM1NjcsIm5iZiI6MTczODg1MzI2NywicGF0aCI6Ii8xOTI2NDYyMTEvMzk5NTM5NDY5LTFiNjNhYzU0LTIxN2QtNGM4Zi04MzlkLTg5ODk1NzA1YTI3Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQxNDQ3NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZDlhYWM1Yjg4YzVhN2NhYTE3MzkzOGFmODI0ZTk0ZGZmODgzZmU5NzM2M2VhYWEyODdkZmQ2Y2IzOTMzM2MzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.VCEC0XjcwDMoejorvbgP9WTeuFffKhYyNnGl0r3TCP4)
** My Code**
Code I used for example 1
![image](https://private-user-images.githubusercontent.com/192646211/399539669-a880b90d-bcd3-4804-bfb4-c6eca7991a0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NTM1NjcsIm5iZiI6MTczODg1MzI2NywicGF0aCI6Ii8xOTI2NDYyMTEvMzk5NTM5NjY5LWE4ODBiOTBkLWJjZDMtNDgwNC1iZmI0LWM2ZWNhNzk5MWEwYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQxNDQ3NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYWJhNGUwOGViNzhiYTk0YjE3ODc4ZjllNjhhMjNjOGI1OTZmMTM4YTE3NDFlZGU4ODgyOTIzMThhYTZmODhhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.xkoEOMFVOjTcbz90EAWoWXlummcWa62ko_DarLJgTHU)
Code I used for example 2
** What I found out **
From me testing it seems like that this was the problem:
The
self.getText()
was making the error come it says that** Checklist **
The text was updated successfully, but these errors were encountered: