diff options
-rw-r--r-- | frontend/src/pages/Settings/Notifications/components.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/pages/Settings/Notifications/components.tsx b/frontend/src/pages/Settings/Notifications/components.tsx index 2efde75e5..11ff4db0c 100644 --- a/frontend/src/pages/Settings/Notifications/components.tsx +++ b/frontend/src/pages/Settings/Notifications/components.tsx @@ -73,9 +73,14 @@ const NotificationForm: FunctionComponent<Props> = ({ > <Stack> <Selector + searchable disabled={payload !== null} {...options} {...form.getInputProps("selection")} + // We also to update the url, so override the default event from getInputProps + onChange={(value) => { + form.setValues({ selection: value, url: value?.url ?? undefined }); + }} ></Selector> <div hidden={form.values.selection === null}> <Textarea |