Fix update of custom object icon (#8730)

Icon update was not triggering a save due to missing onBlur prop drill
This commit is contained in:
Marie
2024-11-26 10:56:57 +01:00
committed by GitHub
parent eea2885cbd
commit d85279c55e

View File

@ -152,7 +152,10 @@ export const SettingsDataModelObjectAboutForm = ({
<IconPicker
disabled={disableEdition}
selectedIconKey={value}
onChange={({ iconKey }) => onChange(iconKey)}
onChange={({ iconKey }) => {
onChange(iconKey);
onBlur?.();
}}
/>
)}
/>