我想在 func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool {
let numbers = ["6","7","8", "9"]
for number in numbers{
if string == number{
return false
}
}
}
中设置一个错误的bootstrap类。
我该怎么做?
答案 0 :(得分:0)
@ Html.ValidationSummary(false,“”,new {@class =“text-danger”})