Skip to content
New issue

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

docs: Nonfunctional Example code in "/objects/Dropdown" #117

Open
Messier1071 opened this issue Aug 3, 2024 · 0 comments
Open

docs: Nonfunctional Example code in "/objects/Dropdown" #117

Messier1071 opened this issue Aug 3, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Messier1071
Copy link

** Where? **

in this example, item.text is nil and item is a string saying "value changed"
image
image
image

** Possible solution **
updating the example to display the last field

aDropdown:onChange(function(self,Event, item)
  basalt.debug(Event)
  basalt.debug("Selected item: ".. item.text)
  
end)

** Others **
thank you for making such a library

** Checklist **
[X] I am looking at the latest version of the docs.
https://basalt.madefor.cc/#/objects/Dropdown

@Messier1071 Messier1071 added the documentation Improvements or additions to documentation label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant