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

Dropdown label issue #1766

Open
Mohammad-Al-Refai opened this issue Dec 12, 2024 · 3 comments · May be fixed by #1774
Open

Dropdown label issue #1766

Mohammad-Al-Refai opened this issue Dec 12, 2024 · 3 comments · May be fixed by #1774
Assignees
Labels
bug Something isn't working

Comments

@Mohammad-Al-Refai
Copy link

In Dropdown when enable autoComplete and search in the input and when select the result it show the value instead the label

code example:

View:
  body:
    Column:
      children:
        - Dropdown:
            autoComplete: true
            id: dropdown
            items:
              - label: A
                value: 1
              - label: B
                value: 2
            onChange:
              showToast:
                message: ${dropdown.value}
Screen.Recording.2024-12-12.at.6.50.10.PM.mov
@kmahmood74
Copy link
Collaborator

@Mohammad-Al-Refai you are printing the value message: ${dropdown.value} so it is correct

@Mohammad-Al-Refai
Copy link
Author

Mohammad-Al-Refai commented Dec 12, 2024

@kmahmood74 Yes but the dropdown input show the value as well, it supposed to show the label in input

@kmahmood74
Copy link
Collaborator

@kmahmood74 Yes but the dropdown input show the value as well, it supposed to show the label in input

ah, yes. I missed that. Assigning to @snehmehta

@kmahmood74 kmahmood74 added the bug Something isn't working label Dec 12, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Ensemble Dec 12, 2024
@kmahmood74 kmahmood74 moved this from Backlog to Ready for Work in Ensemble Dec 12, 2024
@snehmehta snehmehta linked a pull request Dec 17, 2024 that will close this issue
@snehmehta snehmehta linked a pull request Dec 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready for Work
Development

Successfully merging a pull request may close this issue.

3 participants