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

@@ -91,7 +91,8 @@ export const EnumComponent = React.memo((props: EnumComponentProps) => {
enum: enumDict,
value: event.target.value,
full_access_path: fullAccessPath,
readonly: true
readonly: attribute.readonly,
doc: attribute.doc
})
}>
{Object.entries(enumDict).map(([key, val]) => (