Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

Evergcj
Copy link
Collaborator

@Evergcj Evergcj commented Sep 18, 2024

No description provided.

@@ -78,14 +92,30 @@ class FormItemInner extends PureComponent<IFormItemInnerProps, IFormItemInnerSta
return this._touched;
};

validateField = (): Promise<IFieldError> => {
getAllRuleValidateTriggers = (): string[] => {
Copy link
Collaborator

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';
Copy link
Collaborator

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) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个属性好像没有哪里可以传入耶🤔

@adaex adaex added the WIP Work In Progress - This issue or pull request is currently being worked on and is not yet ready for label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work In Progress - This issue or pull request is currently being worked on and is not yet ready for
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants