@pega/custom-dx-components
Version:
Utility for building custom UI components
31 lines (28 loc) • 598 B
text/typescript
export const configProps = {
value: '',
label: 'URL Sample',
placeholder: 'URL Placeholder',
helperText: 'URL Helper Text',
testId: 'url-12345678',
hasSuggestions: false,
displayMode: '',
variant: '',
hideLabel: false,
readOnly: false,
required: false,
disabled: false,
status: '',
validatemessage: ''
};
export const fieldMetadata = {
classID: 'DIXL-MediaCo-Work-NewService',
type: 'Text',
maxLength: 256,
displayAs: 'pxURL',
label: 'URL sample',
validateAs: 'pxIsValidURL'
};
export const stateProps = {
value: '.URLSample',
hasSuggestions: false
};