fix: instant string update through frontend

This commit is contained in:
Mose Müller 2024-07-04 12:48:07 +02:00
parent e8428e4a31
commit 4039d29f42

View File

@ -49,7 +49,13 @@ export const StringComponent = React.memo((props: StringComponentProps) => {
const handleChange = (event) => {
setInputString(event.target.value);
if (isInstantUpdate) {
changeCallback(event.target.value);
changeCallback({
type: 'str',
value: event.target.value,
full_access_path: fullAccessPath,
readonly: readOnly,
doc: docString
});
}
};