-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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] Fix incorrect Javascript term in AutocompleteInput docs #7843
Conversation
These are Javascript objects, not tuples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this anyway 🙂
Set the `choices` attribute to determine the options list (with `id`, `name` tuples). | ||
Set the `choices` attribute to determine the options list (with `id`, `name` objects). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree those are not "tuples", but to me they aren't objects either. Maybe "fields" or "attributes" would be better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are javascript objects with id and name properties. I agree, the wording is a bit weird.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest
Set the
choices
attribute to determine the options list. The value must be an array of objects exposing theid
andname
for each choice.
Superseded by #7949 |
These are Javascript objects, not tuples