Vuetify v-Textarea最高长度在设备上

发布于 2025-01-22 05:35:24 字数 650 浏览 4 评论 0原文

我的页面中有Vuetify V-Textarea,其中MaxLength的问题。在网络中,一切都很好,但是在我将文本粘贴到textarea中然后输入的设备上,我经过最大值。

    <v-textarea
        id="typo-error-message"
        v-model.trim="$v.message.$model"
        :maxlength="1000"
        :counter="1000"
        :error-messages="$v.message.$error ? desriptionValidationErrorMsg : ''"
        rows="1"
        auto-grow
        outlined
        single-line
    />

我试图在互联网上找到一些东西,并遇到了这个编码。但是,它也无法在设备上工作,并且超过了最大长度。

https://codepen.io/katerlouis/pen/pen/pen/pen/yzpnyow

I have vuetify v-textarea in my page and problem with maxlength in it. In web all is good, but on devices when I paste text inside textarea and then typing I pass over maxlength.

    <v-textarea
        id="typo-error-message"
        v-model.trim="$v.message.$model"
        :maxlength="1000"
        :counter="1000"
        :error-messages="$v.message.$error ? desriptionValidationErrorMsg : ''"
        rows="1"
        auto-grow
        outlined
        single-line
    />

I was trying to find something on the Internet and came across this codepen. However, it also does not work on devices and exceeds the maxlength.

https://codepen.io/katerlouis/pen/YzPNYoW

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文