Contributor
I lost 2h because the docs were incorrect. It also caused incorrect AI explanation across multiple LLMs.
โ Type of change
- ๐ Documentation (updates to the documentation or readme)
- ๐ Bug fix (a non-breaking change that fixes an issue)
- ๐ Enhancement (improving an existing functionality)
- โจ New feature (a non-breaking change that adds functionality)
- ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
- The previous explanation incorrectly wrote that the index of the tab matters, when that isn't the case.
๐ Checklist
- I have linked an issue or discussion.
- I have updated the documentation accordingly.
npm i https://pkg.pr.new/@nuxt/ui@5722
commit: 4e2ba60
benjamincanac
changed the title
docs(tabs): fix explanation for setting active tab
docs(tabs): improve model value examples
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the docs to split into two sections, let me know what you think!
Contributor Author
looks good.
I was hoping to add a simple example of how setting the default item works, but I guess it's not necesary since the part about the value property controlling it was fixed and added since the last time I looked at it.