$ npm install --save vue-input-autowidth It's also available on Unpkg:https://unpkg.com/vue-input-autowidth Usage importVueInputAutowidthfrom'vue-input-autowidth'Vue.use(VueInputAutowidth)// and in your template...<inputtype="text"v-autowidth="{maxWidth: '960px', minWidth: '20px'...
A Vue.js directive that automatically resizes an input's width to fit its contents. 🚦 Looking for Vue 2 support? Check out themaster branch. See demo Installation npm install vue-input-autowidth@next --save#or...yarn add vue-input-autowidth@next ...
之前没用过vue3版本,用的vue2 1.10.3版本,没出现这种情况 Collaborator uyarn commented Nov 19, 2024 这个和 #4731 是一个问题 1.10.3的改动引起的 我改下标题 uyarn changed the title [Form 表单] 在Dialog弹窗时,select设置auto-width未展开 [Input] 1.10.3 版本后 auto-width在Dialog内没有完全正常...
/> {props.autoWidth && ( <span ref={inputPreRef} class={`${classPrefix.value}-input__input-pre`}> {innerValue.value || tPlaceholder.value} {isComposition.value ? compositionValue.value ?? '' : innerValue.value || tPlaceholder.value} </span> )} {suffixContent}Footer...