@zat-design/sisyphus-react 3.14.0-beta.2 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,6 +100,8 @@ export interface ProFormType<Values = any> extends FormProps<Values> {
|
|
|
100
100
|
optimize?: boolean;
|
|
101
101
|
/** 是否在遇到第一个错误时停止验证 */
|
|
102
102
|
stopOnFirstError?: boolean;
|
|
103
|
+
/** label 对齐方式 */
|
|
104
|
+
labelAlign?: 'left' | 'right';
|
|
103
105
|
}
|
|
104
106
|
export interface TransformType<T = any> {
|
|
105
107
|
normalize?: (value: StoreValue, prevValue: StoreValue, allValues: Store) => StoreValue;
|
|
@@ -100,6 +100,8 @@ export interface ProFormType<Values = any> extends FormProps<Values> {
|
|
|
100
100
|
optimize?: boolean;
|
|
101
101
|
/** 是否在遇到第一个错误时停止验证 */
|
|
102
102
|
stopOnFirstError?: boolean;
|
|
103
|
+
/** label 对齐方式 */
|
|
104
|
+
labelAlign?: 'left' | 'right';
|
|
103
105
|
}
|
|
104
106
|
export interface TransformType<T = any> {
|
|
105
107
|
normalize?: (value: StoreValue, prevValue: StoreValue, allValues: Store) => StoreValue;
|