Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uni-easyinput[type="nickname"] 用户点击昵称,v-model 失效 #964

Open
DengSihan opened this issue Oct 24, 2024 · 1 comment
Open

Comments

@DengSihan
Copy link

DengSihan commented Oct 24, 2024

"@dcloudio/uni-app": "3.0.0-4020920240930001",
"@dcloudio/uni-ui": "^1.5.6",

微信开发者工具1.06.2409140 Stable

<template>
  {{ form }}
  <uni-easyinput
      v-model="form.name"
      type="nickname"
      placeholder="请输入昵称"
  />
</template>

<script lang="ts" setup>
import { ref } from 'vue';
const form = ref({
  name: ''
});
</script>
2024-10-25.012016.mp4
@GRCmade
Copy link
Contributor

GRCmade commented Oct 31, 2024

你好,easyinput 的 type 并不直接支持 nickname ,需要通过 input 标签并且自己实现处理逻辑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants