Describe the bug
A clear and concise description of what the bug is.
When we use input (native tag), c-input (Chakra UI tags), etc. that have emit change event, this event is caught by the ancestor CTabs when input loss the focus (onBlur).
[Vue warn]: Invalid prop: type check failed for prop "index". Expected Number with value NaN, got Event
found in
---> <CTabs>
<App> at pages/index.vue
<Nuxt>
<CBox>
<CColorModeProvider>
<CThemeProvider>
<App> at layouts/default.vue
<Root>
Expected behavior
Tabs should only handle events of CTabPanels, not his descendants.
Desktop (please complete the following information):
Describe the bug A clear and concise description of what the bug is.
When we use
input
(native tag),c-input
(Chakra UI tags), etc. that have emitchange
event, this event is caught by the ancestorCTabs
when input loss the focus (onBlur).To Reproduce Steps to reproduce the behavior:
Tab value: [object Event]
stacktrace:
Expected behavior Tabs should only handle events of
CTabPanels
, not his descendants.Desktop (please complete the following information):