Added
- Implemented support for reactive props in
use-*.ts
functions.
const value = ref(['React'])
const accordionProps = computed<UseAccordionProps>(() => ({
multiple: true,
value: value.value,
onValueChange: (e) => (value.value = e.value),
}))
const accordion = useAccordion(accordionProps)
Fixed
- Checkbox:
data-invalid
is no longer set wheninvalid
isfalse
. - Combobox: Fixed unexpected cursor movement when editing input.
- PinInput: OTP SMS autofill now works as expected.
- RatingGroup: Fixed incorrect focus placement on the label.
- TagsInput: Improved caret detection to prevent unintended tag removal.
- Timer
- Fixed slowdown when switching tabs/windows.
- Changed default
interval
from250
to1000
.