Skip to content

Commit

Permalink
Fixed attribute schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 23, 2021
1 parent eb65b70 commit 5b2633b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ui/public/assets/schema/attribute/attribute.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
"title": "label.entity-attribute-default",
"description": "tooltip.entity-attribute-default",
"type": "boolean",
"default": true
"default": true,
"enumNames": ["True", "False"]
},
"persistValue": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ export const CustomAttributeDefinition = {
]
},
defaultValueBoolean: {
'ui:widget': 'radio'
'ui:widget': 'radio',
'ui:options': {
inline: true
}
},
persistType: {
'ui:widget': 'hidden'
Expand Down

0 comments on commit 5b2633b

Please sign in to comment.