We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.ui-form-explain
.ui-form-explain 在 addItem 后通过 _saveExplainMessage 备份到元素的 data-explain 上面, 以后在隐藏校验错误消息, 切换展示成原始消息时就从 data-explain 取,.
addItem
_saveExplainMessage
data-explain
这样搞的话, 在原始的 .ui-form-explain 上面绑定的事件都搞丢了, 动态切换校验规则的时候 .ui-form-explain 的内容也要改变, 而通过data api备份html内容的做法让我无法追踪到稳定的.ui-form-explain元素.
The text was updated successfully, but these errors were encountered:
简单来说, 就是特定情况下, explain提示需要变. 简单看了代码, 想不出好的解决办法.
Sorry, something went wrong.
No branches or pull requests
.ui-form-explain 在
addItem
后通过_saveExplainMessage
备份到元素的data-explain
上面,以后在隐藏校验错误消息, 切换展示成原始消息时就从
data-explain
取,.这样搞的话, 在原始的
.ui-form-explain
上面绑定的事件都搞丢了, 动态切换校验规则的时候.ui-form-explain
的内容也要改变, 而通过data api备份html内容的做法让我无法追踪到稳定的.ui-form-explain
元素.The text was updated successfully, but these errors were encountered: