Skip to content

Commit 9c3020d

Browse files
Update docs/recipes/others/chips.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 9d3b480 commit 9c3020d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/recipes/others/chips.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ available_items = ["2:00", "3:00", "4:00", "5:00"]
5353
class SingleSelectionChipsState(rx.State):
5454
selected_item: str = ""
5555

56+
@rx.event
5657
def set_selected_item(self, value: str):
5758
self.selected_item = value
5859

0 commit comments

Comments
 (0)