fix placeholder

This commit is contained in:
Alex Holliday committed 2026-08-11 17:10:48 -07:00
1 parent 441ecddf92
commit 5640068907
2 files changed
+4 -1

No files matched your search

@@ -105,7 +105,7 @@ export const FormMultiSelectField = <T extends FieldValues, O extends MultiSelec
field.onChange([...newValue.map((o) => o.id), ...unresolved]);
}}
fieldLabel={fieldLabel}
placeholder={placeholder}
placeholder={selected.length > 0 ? "" : placeholder}
renderOptionContent={renderOptionContent}
error={!!fieldState.error}
helperText={fieldState.error?.message ?? ""}
@@ -199,6 +199,9 @@ const CreateMaintenanceWindowPage = () => {
fieldLabel={t(
"pages.maintenanceWindow.form.startTime.monitors.option.addMonitors.label"
)}
placeholder={t(
"pages.maintenanceWindow.form.startTime.monitors.option.addMonitors.label"
)}
options={monitors ?? []}
/>
}