I need to display data from an API get call to an input field and I want to edit this input field by clicking on a button, a modal opens and there I have something like a num pad und I can click different numbers, click OK and then I want to overwrite the input field with that number and in the next step I pass this through a post request to the database.
@isa.grafit if you store the new number to Appsmith store when clicking the OK button, you can use {{appsmith.store.number || api.data.number}} in the Default Value of the Input widget.
Let me know if this works for you.
@Amelia modal stuff works but not the data binding. it only works if I’m use appsmith store or api.data… your code snippet does not work. do you have any other idea?