This commit is contained in:
Raphaël MANSUY 2025-12-04 19:19:00 +08:00
parent 6c37bf6576
commit d82b5d2de2

View file

@ -88,9 +88,10 @@ const PropertyEditDialog = ({
};
const handleSave = async () => {
if (value.trim() !== '') {
const trimmedValue = value.trim()
if (trimmedValue !== '') {
const options = propertyName === 'entity_id' ? { allowMerge } : undefined
await onSave(value, options)
await onSave(trimmedValue, options)
}
}