Skip to content

Commit

Permalink
fix(28441): fix schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Dec 5, 2024
1 parent 1385502 commit c49f1ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ export const southboundMappingListSchema: JSONSchema7 = {
properties: {
destination: {
type: 'string',
// readOnly: true,
format: 'data-url',
},
source: {
type: 'string',
// readOnly: true,
format: 'data-url',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ import { UiSchema } from '@rjsf/utils'

/* istanbul ignore next -- @preserve */
const metadataWidget: UiSchema = {
'ui:widget': 'data-url',
// 'ui:widget': 'textarea',
// 'ui:widget': 'application/schema+json',
// 'ui:widget': 'data-url',
'ui:options': {
// readonly: true,
accept: '.json',
},
}
Expand All @@ -20,6 +17,7 @@ export const southboundMappingListUISchema: UiSchema = {
items: {
'ui:title': 'List of Southbound mappings',
'ui:description': 'The list of all the mappings delivering messages from Edge to the device',
'ui:field': 'mqtt:transform',
items: {
'ui:order': ['topicFilter', 'tagName', '*'],
'ui:collapsable': {
Expand Down

0 comments on commit c49f1ec

Please sign in to comment.