如何在simple_form中自定义提示?

我在我的simple_form中:

<%= f.input :password,required: true,hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length),input_html: { autocomplete: "new-password" } %>

我成功地将表单标签设置为白色。但是我的提示仍然是灰色的。颜色已由Bootstrap自动分配:

/* line 52,node_modules/bootstrap/scss/utilities/_text.scss */
.text-muted {
  /*! color: #6c757d !important; */
}

如何将该文本更改为白色? 谢谢

lixiaolin823 回答:如何在simple_form中自定义提示?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2398604.html

大家都在问