Update MkInput.vue

This commit is contained in:
syuilo 2023-05-02 09:17:10 +09:00
parent 1631e62739
commit f5e9886c70

View file

@ -1,7 +1,7 @@
<template>
<div>
<div :class="$style.label" @click="focus"><slot name="label"></slot></div>
<div :class="$style.input" :class="{ inline, disabled, focused }">
<div :class="[$style.input, { inline, disabled, focused }]">
<div ref="prefixEl" :class="$style.prefix"><div :class="$style.prefixOrSuffixText"><slot name="prefix"></slot></div></div>
<input
ref="inputEl"