frontend components pass actual readOnly and docString values to backend

This commit is contained in:
Mose Müller
2024-03-27 12:03:24 +01:00
parent e4f5374783
commit 31f280c9cb
4 changed files with 15 additions and 8 deletions

View File

@@ -249,7 +249,8 @@ export const NumberComponent = React.memo((props: NumberComponentProps) => {
type: type,
value: Number(newValue),
full_access_path: fullAccessPath,
readonly: true
readonly: readOnly,
doc: docString
});
return;
} else {
@@ -263,7 +264,8 @@ export const NumberComponent = React.memo((props: NumberComponentProps) => {
type: type,
value: Number(newValue),
full_access_path: fullAccessPath,
readonly: true
readonly: readOnly,
doc: docString
});
}
@@ -280,7 +282,8 @@ export const NumberComponent = React.memo((props: NumberComponentProps) => {
type: type,
value: Number(inputString),
full_access_path: fullAccessPath,
readonly: true
readonly: readOnly,
doc: docString
});
}
};