I have an app that displays a chart where the user can input values. After the user hits the Submit button, I want the chart to be locked down so for that specific user, he/she cannot make anymore changes nor submit a change. Is there a way to do such a thing?
1 Like
Hello @Paul_Lim ,
Welcome to the Retool community!
Create a temporary state variable (isLocked
) in Retool, set it to true
on submission, and use it to disable inputs and the Submit button. Persist the locked status in the database and initialize isLocked
based on the query result when loading the app.
2 Likes