-
Notifications
You must be signed in to change notification settings - Fork 7.8k
fix: fix IconPicker
props warning
#6108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Invalid prop: type check failed for prop "onUpdate:value". Expected Function, got Array
|
WalkthroughThe changes update the icon picker Vue component to improve how it handles event propagation and attribute binding. The component now uses Vue's Changes
Sequence Diagram(s)sequenceDiagram
participant ParentComponent
participant IconPicker
participant InputComponent
ParentComponent->>IconPicker: Passes attributes (including onUpdate:modelValue)
IconPicker->>InputComponent: Binds attributes (excluding onUpdate:modelValue)
InputComponent->>IconPicker: Triggers value update
IconPicker->>ParentComponent: Calls onUpdate:modelValue if provided
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Invalid prop: type check failed for prop "onUpdate:value". Expected Function, got Array
* 'main' of https://github.com/baohaojie123/vue-vben-admin: fix: fix `IconPicker` props warning (vbenjs#6108) chore: remove prepare script from package.json chore: update prepare script in package.json to remove lefthook installation feat(project): migrate from husky and lint-staged to lefthook (vbenjs#6104) feat: support smooth auto-scroll to active menu item (vbenjs#6102) chore: close eslint object sorting (vbenjs#6101) refactor: modify the default homepage path loaded from the preference… (vbenjs#6099) fix: add triggerClass binding to PopoverTrigger and update icon-picker styles (vbenjs#6095) fix: add missing translation for preferences drawer (vbenjs#6094) fix: destroyOnClose incorrect default value, fixed vbenjs#6092 (vbenjs#6093) fix: fix `LoginExpiredModal` in some cases, `message` may be obscured (vbenjs#6086) fix: show validation message as tooltip in compact form (vbenjs#6087) perf: page componet supports custom height offset for flexible content height … (vbenjs#6081) # Conflicts: # apps/web-antd/src/adapter/component/index.ts # apps/web-antd/src/router/guard.ts # apps/web-antd/src/router/routes/core.ts # apps/web-antd/src/store/auth.ts # apps/web-naive/src/adapter/component/index.ts # apps/web-naive/src/router/guard.ts # apps/web-naive/src/router/routes/core.ts # apps/web-naive/src/store/auth.ts # docs/src/en/guide/essentials/development.md # docs/src/en/guide/essentials/settings.md # docs/src/en/guide/other/faq.md # docs/src/en/guide/project/standard.md # docs/src/guide/essentials/development.md # docs/src/guide/essentials/settings.md # docs/src/guide/other/faq.md # docs/src/guide/project/standard.md # pnpm-lock.yaml # pnpm-workspace.yaml
Summary by CodeRabbit