-
I don't want certain fields in the resource to be changed by the user. Instead, the app should set the default value. For example, month & year field in a resource where the app should set the current month & year automatically without user interaction I tried using the following options but none of them work as expected
All the above disables/hide the field from view but it doesn't work when the fields are required as the model throws error. On checking the logs, those field values are not submitted to the request at all |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Can you please send in a code sample and what didn't work? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is there a way to hide those fields from the user in forms and just set the default while saving the record? |
Beta Was this translation helpful? Give feedback.
Is there a way to hide those fields from the user in forms and just set the default while saving the record?