fix: suggest image searches only on create
This commit is contained in:
1 parent
717fe38099
commit
3b3e70919d
4 files changed
+13
-5
No files matched your search
@@ -128,7 +128,10 @@ export const AppForm = ({
|
||||
const formFields = (
|
||||
<Stack>
|
||||
<TextInput {...form.getInputProps("name")} withAsterisk label={t("app.field.name.label")} />
|
||||
<IconPicker {...form.getInputProps("iconUrl")} suggestedSearch={form.values.name} />
|
||||
<IconPicker
|
||||
{...form.getInputProps("iconUrl")}
|
||||
suggestedSearch={initialValues === undefined ? form.values.name : undefined}
|
||||
/>
|
||||
<Textarea
|
||||
{...form.getInputProps("description")}
|
||||
label={t("app.field.description.label")}
|
||||
|
||||
Reference in new issue
Block a user