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

lazy_input no responsive value triggered on clicking the clear icon #88

Closed
CrystalWindSnake opened this issue Jan 10, 2024 · 0 comments · Fixed by #90
Closed

lazy_input no responsive value triggered on clicking the clear icon #88

CrystalWindSnake opened this issue Jan 10, 2024 · 0 comments · Fixed by #90
Labels
bug Something isn't working

Comments

@CrystalWindSnake
Copy link
Owner

from nicegui import ui
from ex4nicegui.reactive import rxui
from ex4nicegui import to_ref


r_value = to_ref("")

rxui.lazy_input(value=r_value).props("outlined clearable")

rxui.label(r_value)
  1. Enter the content "text" and the content is displayed below
  2. Click the clear icon in the input box, the content below should disappear at the same time, but now it doesn't
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant