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 family inputs: Dropdown, Autocomplete, and Taglist do not render values that are not part of their options array. #877

Closed
sashamilenkovic opened this issue Aug 10, 2023 · 0 comments · Fixed by #872
Assignees
Labels
🐛 bug Verified bug by team 🔴 priority-1 1. Top priority issue Pro Pertains to FormKit Pro 🚀 release-ready Feature or fix is complete and on an upcoming release branch

Comments

@sashamilenkovic
Copy link
Contributor

Reproduction

https://formkit.link/b9c128420065fb1d74ed0211394703c5

Describe the bug

In the provided example, we are getting each input's respective nodes and calling node.input to update their values. The value is not part of their options array and so there is no selected option rendered. Although there is no matching option, the inputs should still reflect that they possess a value, and should render the the value as the selected option anyways.

Environment

• OS: [e.g. iOS]
• Browser [e.g. chrome, safari]
• Version [e.g. 22]

@sashamilenkovic sashamilenkovic added 🐛 bug Verified bug by team 🚀 release-ready Feature or fix is complete and on an upcoming release branch 🔴 priority-1 1. Top priority issue Pro Pertains to FormKit Pro labels Aug 10, 2023
@sashamilenkovic sashamilenkovic self-assigned this Aug 10, 2023
@sashamilenkovic sashamilenkovic changed the title Dropdown family inputs: Dropdown, Autocomplete, and Taglist do not accept values that are not part of their options array. Dropdown family inputs: Dropdown, Autocomplete, and Taglist do not render values that are not part of their options array. Aug 10, 2023
@luan-nk-nguyen luan-nk-nguyen linked a pull request Aug 10, 2023 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 Verified bug by team 🔴 priority-1 1. Top priority issue Pro Pertains to FormKit Pro 🚀 release-ready Feature or fix is complete and on an upcoming release branch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant