Skip to content

Commit

Permalink
feat: adaptive label for InputText
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Nov 10, 2023
1 parent 9531d87 commit 56ce50a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wanderlust.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ def poll():

with solara.Column():
solara.InputText(
label="Ask your question here",
label="Where do you want to go?"
if len(messages.value) == 0
else "Ask more question here",
value=prompt,
style={"flex-grow": "1"},
on_value=add_message,
Expand Down

0 comments on commit 56ce50a

Please sign in to comment.