You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a, not very experienced Nuxt3 , hobby developer. Also very new to TypeScript.
I use a USelectMenu element, and I want to use a dynamic color for the outline of the button.
When I view in the browser the page looks fine, everything how I want it, but I get the following error in the browser console for every instance of the component.
I am a, not very experienced Nuxt3 , hobby developer. Also very new to TypeScript.
I use a USelectMenu element, and I want to use a dynamic color for the outline of the button.
When I view in the browser the page looks fine, everything how I want it, but I get the following error in the browser console for every instance of the component.
[Vue warn]: Invalid prop: custom validator check failed for prop "color". ( runtime-core/dist/runtime-core.esm-bundler.js )
This is the code I use:
The component:
The function that returns the color:
The documentation for USelectMenu says the color prop should be of type string, but when I return a string, vscode gives me the following error:
Am I doing something wrong here, or is this a bug?
The text was updated successfully, but these errors were encountered: