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

Make rx.Upload a memoization leaf #2695

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Make rx.Upload a memoization leaf #2695

merged 1 commit into from
Feb 22, 2024

Conversation

ElijahAhianyo
Copy link
Contributor

Simple fix to get the code below working:

rx.upload(
            rx.text("Drag and drop files here or click to select files"),
            rx.text("Selected: "),
            rx.foreach(rx.selected_files("upload3"), rx.text),
            id="upload3",
            border="1px dotted rgb(107,99,246)",
            padding="5em",
        ),

@masenf masenf merged commit f4666c4 into main Feb 22, 2024
45 checks passed
Yummy-Yums pushed a commit to Yummy-Yums/reflex-codebase that referenced this pull request Feb 28, 2024
@masenf masenf deleted the elijah/upload-memoization branch February 29, 2024 21:48
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

Successfully merging this pull request may close these issues.

2 participants