diff --git a/src/entitiy/element/model/implementations/TextElement.tsx b/src/entitiy/element/model/implementations/TextElement.tsx index c47f802..5642c91 100644 --- a/src/entitiy/element/model/implementations/TextElement.tsx +++ b/src/entitiy/element/model/implementations/TextElement.tsx @@ -434,7 +434,9 @@ export const textDefinition: ElementDefinition = { value={displayValue} onChange={e => { if (!isAnimating) { - handleValueChange(e.target.value) + // Автоматически заменяем запятые на точки + const normalizedValue = e.target.value.replace(/,/g, '.') + handleValueChange(normalizedValue) } }} required={config.required}