tui: reword placeholder and tooltip to give hints about expected input format
This commit is contained in:
parent
5f26fbc18f
commit
2de1b3ce0e
1 changed files with 4 additions and 4 deletions
|
|
@ -23,11 +23,11 @@ class SearchBar(Static):
|
|||
def compose(self) -> ComposeResult:
|
||||
with HorizontalGroup(id="search-bar-widget"):
|
||||
yield Input(
|
||||
placeholder="Enter Teilchen information: name, description, #tags",
|
||||
placeholder='This is a name. "This is the description" #these #are #tags',
|
||||
tooltip=(
|
||||
"This is a free-form field: Enter a name and "
|
||||
"description any way you like. You should use #hashtags for any "
|
||||
"meta information."
|
||||
"Enter a name followed by a period, then a description "
|
||||
'enclosed in double quotes ("). You should use #hashtags for any meta information. '
|
||||
"Hashtags can be placed anywhere."
|
||||
),
|
||||
id="teilchen-input",
|
||||
type="text",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue