fix: polish assistant widget interactions
This commit is contained in:
1 parent
d111f7e981
commit
b7034e59c1
5 files changed
+33
-5
No files matched your search
@@ -2156,7 +2156,8 @@
|
||||
"label": "Search.ch URL"
|
||||
},
|
||||
"station": {
|
||||
"label": "Station"
|
||||
"label": "Station",
|
||||
"placeholder": "Search for a station"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4112,7 +4113,8 @@
|
||||
},
|
||||
"conversation": {
|
||||
"label": "Pinned conversation",
|
||||
"description": "This selector stays hidden while the widget follows the current conversation."
|
||||
"description": "Choose the saved conversation this widget should keep available.",
|
||||
"placeholder": "Select a saved conversation"
|
||||
}
|
||||
},
|
||||
"pinned": {
|
||||
|
||||
@@ -70,6 +70,8 @@ export const WidgetDynamicSelectInput = ({ property, kind, options }: CommonWidg
|
||||
)}
|
||||
searchValue={search}
|
||||
onSearchChange={setSearch}
|
||||
placeholder={tWidget("placeholder")}
|
||||
nothingFoundMessage={t("common.noResults")}
|
||||
leftSection={isPending && <Loader size="xs" />}
|
||||
renderOption={({ option, checked }) => {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user