diff --git a/dashboard/src/components/CustomFieldInput.js b/dashboard/src/components/CustomFieldInput.js index 85258eb44..688f6172d 100644 --- a/dashboard/src/components/CustomFieldInput.js +++ b/dashboard/src/components/CustomFieldInput.js @@ -138,7 +138,7 @@ const CustomFieldInput = ({ field, values, handleChange, model, colWidth = null, inputId={id} classNamePrefix={id} value={(typeof values[field.name] === 'string' ? [values[field.name]] : values[field.name])?.map((o) => ({ value: o, label: o }))} - placeholder={' -- Choisir -- '} + placeholder={'Choisir...'} getOptionValue={(i) => i.value} getOptionLabel={(i) => i.label} isDisabled={disabled} diff --git a/dashboard/src/components/SelectCustom.js b/dashboard/src/components/SelectCustom.js index 2554823f5..8b9fc831c 100644 --- a/dashboard/src/components/SelectCustom.js +++ b/dashboard/src/components/SelectCustom.js @@ -9,7 +9,7 @@ const SelectCustom = ({ creatable, ...props }) => { return ( 'Aucun résultat'} formatCreateLabel={(inputValue) => `Ajouter "${inputValue}"`} theme={(defaultTheme) => ({ diff --git a/dashboard/src/components/tailwind/ActionsCategorySelect.js b/dashboard/src/components/tailwind/ActionsCategorySelect.js index bd7d7d1f5..a530649be 100644 --- a/dashboard/src/components/tailwind/ActionsCategorySelect.js +++ b/dashboard/src/components/tailwind/ActionsCategorySelect.js @@ -134,7 +134,7 @@ const ActionsCategorySelect = ({ label, values, onChange, id, withMostUsed, isDi ))} - {!selected.length &&
-- Choisir --
} + {!selected.length &&
Choisir...
}