Created
March 18, 2024 09:24
-
-
Save KayeeNL/b07a997752d1f0de4de01bd80f837395 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FEAAS.External.registerComponent(MyByocComponent, { | |
name: 'MyByocComponent', | |
properties: { | |
title: { | |
title: 'Title', | |
type: 'string', | |
enum: ['Mr', 'Mrs', 'Miss', 'Ms', 'Dr'], | |
description: 'Please select an appropriate title', | |
}, | |
tags: { | |
type: 'array', | |
title: 'Tags', | |
items: { | |
type: 'string', | |
enum: ['Sitecore', 'XM Cloud', 'BYOC', 'JSS', 'Next.js'], | |
}, | |
uniqueItems: true, | |
}, | |
firstName: { | |
title: 'First Name', | |
type: 'string', | |
}, | |
lastName: { | |
title: 'Last Name', | |
type: 'string', | |
}, | |
columnsCount: { | |
title: 'Columns count', | |
type: 'number', | |
}, | |
}, | |
required: ['firstName', 'lastName'], | |
ui: { | |
tags: { | |
'ui:widget': 'checkboxes', | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment