Skip to content

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

@Messier1071

Description

@Messier1071

** 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions