-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
antd
Version
6.x
Current Behavior
The onChange in FieldTemplate doesn't work properly because it requires a second argument which is the path (fieldPathId), but fieldPathId is not provided as a prop like it is in FieldProps. Why isn't fieldPathId provided in FieldTemplateProps? If there isn't a reason then I can implement it. Thanks!
Expected Behavior
The **fieldPathId** should be provided as a prop to the custom FieldTemplate like we do for custom Field.
Steps To Reproduce
No response
Environment
- OS:
- Node:
- npm:Anything else?
No response