I'm encountering issue with Element UI after migrating from vue 2 to vue 3
the clearable attribute doesn't work anymore for el tags like el-select, el-input.
<el-input v-model="searchForm.societe" type="text" placeholder="Nom de societe" clearable></el-input>
[Vue warn]: (deprecation INSTANCE_ATTRS_CLASS_STYLE) Component has
inheritAttrs: falsebut is relying on class/style fallthrough from parent. In Vue 3, class/style are now included in $attrs and will no longer fallthrough when inheritAttrs is false. If you are already using v-bind="$attrs" on component root it should render the same end result. If you are binding $attrs to a non-root element and expecting class/style to fallthrough on root, you will need to now manually bind them on root via :class="$attrs.class".
Details: https://v3-migration.vuejs.org/breaking-changes/attrs-includes-class-style.html
at <ElIcon key=1 class="el-input__icon el-input__clear" onMousedown=fn ... >
at <ElInput modelValue="d" onUpdate:modelValue=fn type="text" ... >
package.jsonto your question using the edit feature. It's still not clear based on your phrasing what "on migration to vue 3" means... are you currently on vue 2 or vue 3 or the @vue/compat migration build? Adding package.json to the question would make everything clear.