Skip to content

Dropdown family inputs: Dropdown, Autocomplete, and Taglist do not render values that are not part of their options array. #877

@sashamilenkovic

Description

@sashamilenkovic

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]

Metadata

Metadata

Labels

ProPertains to FormKit Pro🐛 bugVerified bug by team🔴 priority-11. Top priority issue🚀 release-readyFeature or fix is complete and on an upcoming release branch

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