Replies: 1 comment 3 replies
-
|
The behavior you're seeing is native browser behavior. When you read from a Would a const control = useControl({
defaultValue: ['c', 'a', 'b'],
preserveOptionsOrder: true,
});
// control.options returns ['c', 'a', 'b'] instead of DOM order ['a', 'b', 'c']I tried implement it in #1147. Could you give the pre-release a try and let me know if it works for you? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having a hard time connecting my custom MultiAutocomplete component to conform-future. My initial implementation used
useControlwith a<select multiple>, but I noticed that the values no longer keep the order in which they were selected.Also, I would like to introduce manual re-ordering of the selected values.
What would be the best way to connect this to conform future?
Beta Was this translation helpful? Give feedback.
All reactions