Skip to content

[suggest]<nut-form-item>下的input文本样式 #1272

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

Closed
hustjiangtao opened this issue May 4, 2022 · 2 comments
Closed

[suggest]<nut-form-item>下的input文本样式 #1272

hustjiangtao opened this issue May 4, 2022 · 2 comments
Assignees
Labels
help wanted 问题求助

Comments

@hustjiangtao
Copy link

你建议我们做什么?

现在...

  <nut-form-item label="地址" prop="address" required :rules="[{ required: true, message: '请填写地址' }]">
    <input class="nut-input-text" v-model="formData.address" placeholder="请输入地址" type="text" />
  </nut-form-item>

当前的form表单中子项样式会继承<nut-cell /><nut-form-item />,导致form表单中的input文本样式显示为.nut-cell__value默认样式的灰色#cccccc,所以往往仍需单独另加样式

希望能够改进此项,显示默认的input样式或者black,毕竟灰色的输入项不常会用到

其它

示例代码可以直接复制文档中的代码,即可复现

nutui官方文档

@hustjiangtao hustjiangtao added the help wanted 问题求助 label May 4, 2022
@richard1015 richard1015 self-assigned this May 6, 2022
@richard1015
Copy link
Contributor

感谢反馈,下个版本发版修复了

@richard1015
Copy link
Contributor

标记 小程序输入后颜色与官网demo示例不符合 3.1.21发布时处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted 问题求助
Projects
None yet
Development

No branches or pull requests

3 participants