taroify icon indicating copy to clipboard operation
taroify copied to clipboard

Form > Input 校验未通过时,placeholder不应该是 error 颜色

Open x011223 opened this issue 3 years ago • 1 comments

问题出在哪个包

@taroify/core

问题出在哪个平台/设备/浏览器

微信小程序

平台/设备/浏览器

mac os 12.3.1 / chrome latest

你正在使用的 Taroify 版本是多少

0.0.29-alpha.8

描述一下您遇到的问题以及重现步骤

demo示例即可复现到。

image image

如果可能的话,请包含一个代码框的链接与复制的问题

https://taroify.gitee.io/taroify.com/components/form/

你知道如何解决这个问题吗

Yes

您是否愿意参与修复这个问题,并创建一个 PR

Yes

修复这个问题的解决方案

Input 校验未通过时,placeholder不应该是 error 颜色

x011223 avatar May 24 '22 07:05 x011223

好的,下个版本会和 vant3+ 保持一致

ickg5 avatar Jun 21 '22 04:06 ickg5

0.1.0-alpha.1 好像没有更新这个问题

chengluliu avatar Oct 25 '22 06:10 chengluliu

0.1.0-alpha.1 好像没有更新这个问题

我通过样式覆盖处理的。

  .taroify-input--danger,
  .taroify-input__placeholder--danger {
    color: #999;
  }

x011223 avatar Oct 26 '22 06:10 x011223

0.1.0-alpha.1 好像没有更新这个问题

我通过样式覆盖处理的。

  .taroify-input--danger,
  .taroify-input__placeholder--danger {
    color: #999;
  }

谢谢 我也去试试先. 可以临时解决问题

chengluliu avatar Oct 26 '22 07:10 chengluliu

https://github.com/mallfoundry/taroify/pull/573

Pilotager avatar Jul 06 '23 12:07 Pilotager