@pega/dx-component-builder-sdk
Version:
Utility for building custom UI components
51 lines (48 loc) • 1.13 kB
text/typescript
export const configProps = {
value: '',
label: 'Picklist-RadioButtons Sample',
placeholder: 'Select...',
listType: 'associated',
datasource: [
{
key: 'Option 1',
value: 'Option 1'
},
{
key: 'Option 2',
value: 'Option 2'
},
{
key: 'Option 3',
value: 'Option 3'
}
],
helperText: 'Picklist-RadioButtons Helper Text',
testId: 'Picklist-RadioButtons-12345678',
hasSuggestions: false,
required: false,
disabled: false,
readOnly: false,
status: '',
hideLabel: false,
displayMode: '',
validatemessage: ''
};
export const rawMetadata = {
type: 'Dropdown',
config: {
value: '@P .PicklistRadioButtonsSample',
label: '@L PicklistRadioButtons Sample',
placeholder: '@L Select...',
listType: 'associated',
datasource: '@ASSOCIATED .PicklistSample',
helperText: '@L PicklistRadioButtons Helper Text',
testId: 'picklist-RadioButtons-12345678'
}
};
export const stateProps = {
value: '.PicklistRadioButtonsSample',
placeholder: 'Select...',
datasource: '.PicklistRadioButtonsSample',
hasSuggestions: false
};