diff --git a/ui/src/core/ui/form_builder/form_builder.tsx b/ui/src/core/ui/form_builder/form_builder.tsx index 8131b3a..4d8e461 100644 --- a/ui/src/core/ui/form_builder/form_builder.tsx +++ b/ui/src/core/ui/form_builder/form_builder.tsx @@ -137,8 +137,7 @@ export const FormBuilder = observer((props: IFormBuilder) => { return (
Number().isValid(el) : undefined} onChange={(e) => { store.changeTotalValue(element.id, e); diff --git a/ui/src/core/ui/input/input.tsx b/ui/src/core/ui/input/input.tsx index b30ed35..1a78a4a 100644 --- a/ui/src/core/ui/input/input.tsx +++ b/ui/src/core/ui/input/input.tsx @@ -29,15 +29,15 @@ export const CoreInput = (props: IInputProps) => { setAppendInnerText(false); } }, [ref, value, isAppendInnerText, setAppendInnerText, props]); - React.useEffect(() => { - if (props.isFormBuilder === undefined) { - if (ref.current && props.value) { - ref.current.innerText = value; - setValue(props.value); - console.log(props.value); - } - } - }, [props.value]); + // React.useEffect(() => { + // if (props.isFormBuilder) { + // if (ref.current && props.value) { + // ref.current.innerText = value; + // setValue(props.value); + // console.log(props.value); + // } + // } + // }, [props.value]); const isSmall = props.type !== undefined && props.type.isEqual(CoreInputType.small); return (