Closed adavie1 closed 1 year ago
Thank you for your feedback.
Tabs
does has some problem. But I am a little busy recently, I will fix it when I have time.
But it is ok in normal case, demo: https://codesandbox.io/s/daisyui-vue-3-lp7i8d
Secondly, <Tabs v-model={[currentTab.value, 'value']}>
is a jsx syntax that can not be written in template.
No problem. Ah JSX syntax, no wonder I didn't recognise it! Thought TS thing or Vue 3 thing.
The problem is fixed(0.0.1-alpha.12).
But there are two breaking changes(I am sorry this library is in early development):
v-model
for Tabs
, no more v-model:value
Tab
to TabPanel
Environment:
This is my code:
The
currentTab
doesn't change. When follow the sample code: In script setup:const currentTab = ref('rts');
<Tabs v-model={[currentTab.value, 'value']}>
I get an error:The value of
currentTab
doesn't change:Select Upgrade: