Vuetify 仅在输入中显示第一条消息
Vuetify only displaying first message on an input
https://codepen.io/astannard/pen/WNRYmGo
<div id="app">
<v-app id="inspire">
<v-text-field
label="Main input"
:messages=['ahhhhhhh','haaaaaaaa']
hide-details="auto"
></v-text-field>
</v-app>
</div>
我上面的代码使用了 vuetify,问题是只显示 'ahhhhhhhh',理想情况下我希望 'haaaaaaaa' 显示在下面的行中。
将 error-count
属性设置为 2:
<v-text-field
label="Main input"
:messages=['ah','ha']
error-count=2
hide-details="auto"
></v-text-field>
结果:
https://codepen.io/astannard/pen/WNRYmGo
<div id="app">
<v-app id="inspire">
<v-text-field
label="Main input"
:messages=['ahhhhhhh','haaaaaaaa']
hide-details="auto"
></v-text-field>
</v-app>
</div>
我上面的代码使用了 vuetify,问题是只显示 'ahhhhhhhh',理想情况下我希望 'haaaaaaaa' 显示在下面的行中。
将 error-count
属性设置为 2:
<v-text-field
label="Main input"
:messages=['ah','ha']
error-count=2
hide-details="auto"
></v-text-field>
结果: