I created customized comments feature as it should be interactive with non retool users.
Here is the flow.
type comment -> update model.comment -> click button -> create comment -> empty comment input value
here is my logic.
triggerQuery(model.createComment);
modelUpdate({ comment: '' });
When I do this, createComment query is called with an empty comment value.
Is there a way to work around ?