How to modify json before sending it to backend API
I have a Form.Item that is only for UI purposes. This is getting included in the backend JSON request automatically. How can I suppress/filter certain elements from being included in the backend JSON request?
I have tried the following without success
- hidden attribute in antd Form hides from the UI - Not what i want
- included transform rules in Form.Item - throws an error in asyncvalidator saying "key" is not a valid undefined
- Not able to change TVariables variable in create dataprovider method
Any idea on how I can achieve this without changing the backend provider API ?
I have tried the following without success
- hidden attribute in antd Form hides from the UI - Not what i want
- included transform rules in Form.Item - throws an error in asyncvalidator saying "key" is not a valid undefined
- Not able to change TVariables variable in create dataprovider method
Any idea on how I can achieve this without changing the backend provider API ?
