-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix form Reset & Form TextArea Style #286
base: main
Are you sure you want to change the base?
Conversation
…rco-design-mobile into fix-form-reset-xzq
@@ -78,14 +92,30 @@ class FormItemInner extends PureComponent<IFormItemInnerProps, IFormItemInnerSta | |||
return this._touched; | |||
}; | |||
|
|||
validateField = (): Promise<IFieldError> => { | |||
getAllRuleValidateTriggers = (): string[] => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个方法还有用吗
import { IRules, ValidatorError } from '@arco-design/mobile-utils'; | ||
|
||
import { IRules, ValidatorError, isArray, isObject } from '@arco-design/mobile-utils'; | ||
import cloneDeepWith from 'lodash/cloneDeepWith'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lodash没加到package.json里?
break; | ||
default: | ||
const originTrigger = children.props[trigger]; | ||
if (triggerPropsField) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个属性好像没有哪里可以传入耶🤔
No description provided.