Application builder form: values are not stored if default values are bound to a data source
Describe the problem
I created a data source that returns a single record. On the same page, I have created a form with 2 text fields that show the data of my data source. When I do not change anything to the data and click the submit button, the fields in my database become empty. This only occurs if nothing is changed. Once there is a change in the textfield, the form works as expected.
Steps to reproduce
1.create an app builder page with a single line data source
2. create a form with a text input field having the data source field value as default value
3. set the submit button to update the data source field using the input value
Actual result
if the user changes the text input value, the data source field is correctly changed
if the user does not change the text input value, the data source field is set to an empty string
Expected result
If the user does not change the text input value, the data source should remain the same.
Environment
- Operating System: Mac
- Web Browser: Chrome
- Deployment Type: baserow.io and docker
- Baserow Version: 1.23