Get help from the marimo community

Updated 3 months ago

Disable button after click

At a glance

A community member is playing around with marimo and wants to know how to disable a button after it's been clicked once. They tried setting the 'disabled' param to True in the button's on_click function, but that didn't work. There are no comments providing an answer to this question.

Hi, playing around with marimo the last few days and loving it! I was wondering if there is a way to disable a button after it's been clicked once? I tried to get the button's on_click function to set the 'disabled' param to True after the first click, but that doesn't seem to help.
Add a reply
Sign up and join the conversation on Discord