SmartGWT version: v12.0p_2020-01-09/Enterprise Deployment
Hello, I am using the builtinds sample and attempting to set a field to null via the REST API. It seems to be dropping any incoming fields with a null value and not applying them to the record. Setting the field to other values via the API works fine, but I have not been able to clear the field.
Here is a screenshot of me setting the Alligator's lifespan to 123 years in Postman:
That change shows up correctly on the web app:
However, if I then try to set the "lifeSpan" field to null, no update is made, and the lifeSpan remains 123.
I'm able to null out the field just fine through the web app, but is there some way to do it via a PUT request from the API?
Thanks!
Hello, I am using the builtinds sample and attempting to set a field to null via the REST API. It seems to be dropping any incoming fields with a null value and not applying them to the record. Setting the field to other values via the API works fine, but I have not been able to clear the field.
Here is a screenshot of me setting the Alligator's lifespan to 123 years in Postman:
That change shows up correctly on the web app:
However, if I then try to set the "lifeSpan" field to null, no update is made, and the lifeSpan remains 123.
I'm able to null out the field just fine through the web app, but is there some way to do it via a PUT request from the API?
Thanks!
Comment