[Streamlit-ace] Adding a submit button to get the updated code and then change the editor to read only

I want to have the editor(which already has some code displayed) let the user make some changes during the first time and then have a button to submit the changes(also want to know how to access the updated code) and then block the user from editing anymore on the editor.

1 Like

Hi @richard-franklin

There’s a relevant post with code snippet that you could look into for inspiration:

1 Like