Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what does the apply button do? #43

Open
chanansh opened this issue Nov 21, 2022 · 3 comments
Open

what does the apply button do? #43

chanansh opened this issue Nov 21, 2022 · 3 comments

Comments

@chanansh
Copy link

It's not clear what does the apply button do

@renanxx1
Copy link

renanxx1 commented Feb 9, 2023

I'm facing the same difficult. I haven't found anything about the button or how to get the text return.

@badayvedat
Copy link

It is sad that docs do not mention it but you can access it using the return value of the component

result = st_ace('Type here', key='mytextarea')
print("Provided code:", result)

@NichtJens
Copy link

If auto_update=False, the editor only processes if this button is pressed. I.e., you'd only get the contents of the editor once the user is done, and presses apply.

If auto_update=True, the editor processes after every keystroke, and you get the contents as it changes for every change. The apply button is not shown in that case.

This button was introduced here: #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants