исравленны нижние подчеркивания
This commit is contained in:
@@ -558,10 +558,7 @@ export const ElementConstructor: React.FC<ElementConstructorProps> = ({
|
|||||||
|
|
||||||
const updatedData = {
|
const updatedData = {
|
||||||
...formData,
|
...formData,
|
||||||
name:
|
name: formData.label || formData.name || '',
|
||||||
formData.label?.toLowerCase().replace(/\s+/g, '_') ||
|
|
||||||
formData.name ||
|
|
||||||
'',
|
|
||||||
targetCells,
|
targetCells,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user