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 trying to make it so I do not have to hack up this lib everytime there is an update.
The behavior hack I opened a feature request for.
This hack....looking at the code I am wondering if maby I am just not understanding the way vue works and there IS a way.
function render(_ctx, _cache, $props, $setup, $data, $options) {
var _component_v_tags = vue.resolveComponent("v-tags");
var _component_v_input = vue.resolveComponent("v-input");
var _component_v_dropdown = vue.resolveComponent("v-dropdown");
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
ref: "wrapper",
"class": ["vue-select", ["direction-".concat(_ctx.direction)], 'form-control'],
So the hack is adding 'form-control' to those classes, but I'm seeing that merge props....it makes me wonder if there IS a way to add classes and I'm not aware of it.
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
-
I am trying to make it so I do not have to hack up this lib everytime there is an update.
The behavior hack I opened a feature request for.
This hack....looking at the code I am wondering if maby I am just not understanding the way vue works and there IS a way.
So the hack is adding 'form-control' to those classes, but I'm seeing that merge props....it makes me wonder if there IS a way to add classes and I'm not aware of it.
Beta Was this translation helpful? Give feedback.
All reactions