File tree 1 file changed +26
-26
lines changed
packages/form/src/components/FormItem
1 file changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -197,35 +197,35 @@ const WarpFormItem: React.FC<
197
197
return (
198
198
< Form . Item
199
199
{ ...props }
200
- help = { typeof help !== 'function' ? help : undefined }
200
+ // help={typeof help !== 'function' ? help : undefined}
201
201
valuePropName = { valuePropName }
202
202
getValueProps = { getValuePropsFunc }
203
203
// @ts -ignore
204
- _internalItemRender = { {
205
- mark : 'pro_table_render' ,
206
- render : (
207
- inputProps : FormItemProps & {
208
- errors : React . ReactNode [ ] ;
209
- warnings : React . ReactNode [ ] ;
210
- } ,
211
- doms : {
212
- input : JSX . Element ;
213
- errorList : JSX . Element ;
214
- extra : JSX . Element ;
215
- } ,
216
- ) => (
217
- < >
218
- { doms . input }
219
- { typeof help === 'function'
220
- ? help ( {
221
- errors : inputProps . errors ,
222
- warnings : inputProps . warnings ,
223
- } )
224
- : doms . errorList }
225
- { doms . extra }
226
- </ >
227
- ) ,
228
- } }
204
+ // _internalItemRender={{
205
+ // mark: 'pro_table_render',
206
+ // render: (
207
+ // inputProps: FormItemProps & {
208
+ // errors: React.ReactNode[];
209
+ // warnings: React.ReactNode[];
210
+ // },
211
+ // doms: {
212
+ // input: JSX.Element;
213
+ // errorList: JSX.Element;
214
+ // extra: JSX.Element;
215
+ // },
216
+ // ) => (
217
+ // <>
218
+ // {doms.input}
219
+ // {typeof help === 'function'
220
+ // ? help({
221
+ // errors: inputProps.errors,
222
+ // warnings: inputProps.warnings,
223
+ // })
224
+ // : doms.errorList }
225
+ // {doms.extra}
226
+ // </>
227
+ // ),
228
+ // }}
229
229
>
230
230
{ children }
231
231
</ Form . Item >
You can’t perform that action at this time.
0 commit comments