Files
headlessui/packages/@headlessui-vue
Robin Malfait 43a71cf720 Ensure DOM ref is properly handled in the RadioGroup component (#2424)
* drop `by` prop

Otherwise it ends up in the DOM which doesn't hurt but isn't ideal
either.

* ensure we are reading the underlying DOM correctly

We assumed that the `optionRef` was `HTMLElement | null`, but if you use
a custom component, then it is exposed as `{ $el: ref }`, this is why we
use the `dom()` helper.

* add test to ensure using a custom `as` prop works as expected

* update changelog
2023-04-11 16:59:45 +02:00
..
2022-01-31 00:10:06 +01:00
2022-01-31 12:29:27 +01:00
2023-03-03 21:09:06 +01:00

@headlessui/vue

A set of completely unstyled, fully accessible UI components for Vue 3, designed to integrate beautifully with Tailwind CSS.

Total Downloads Latest Release License

Installation

Please note that this library only supports Vue 3.

npm install @headlessui/vue

Documentation

For full documentation, visit headlessui.dev.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Headless UI on GitHub

For casual chit-chat with others using the library:

Join the Tailwind CSS Discord Server