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'm using the vue version and trying to wrap the Listbox as a XSelect component. All is working well until we try to add a class attribute on the XSelect, then vue gives a warning that my normal understanding doesn't fix:
runtime-core.esm-bundler.js:38 [Vue warn]: Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
So far I've tried everything I can think of - adding class as a prop, v-bind=$attrs, class=$attrs[class] - but nothing appears to be applying the class. Any thoughts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the vue version and trying to wrap the Listbox as a XSelect component. All is working well until we try to add a class attribute on the XSelect, then vue gives a warning that my normal understanding doesn't fix:
runtime-core.esm-bundler.js:38 [Vue warn]: Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
Here's the setup
So far I've tried everything I can think of - adding class as a prop, v-bind=$attrs, class=$attrs[class] - but nothing appears to be applying the class. Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions