mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-19 00:18:40 +01:00
frontend components pass actual readOnly and docString values to backend
This commit is contained in:
@@ -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]) => (
|
||||
|
||||
Reference in New Issue
Block a user