Labb - DX Accelerator
    Preparing search index...

    Interface MultiselectProps

    interface MultiselectProps {
        additionalProps: Object;
        columns: Object[];
        datasource: string | any[];
        groupColumnsConfig: any[];
        groupDataSource: any[];
        helperText: string;
        hideLabel: boolean;
        initialCaseClass: string;
        isGroupData: boolean;
        label: string;
        listType: string;
        matchPosition: string;
        maxResultsDisplay: string;
        parameters: Object | Object[];
        placeholder: string;
        primaryField: string;
        readOnly: string | boolean;
        readonlyContextList: any[];
        referenceList: string;
        referenceType: string;
        required: string | boolean;
        secondaryFields: string[];
        selectionKey: string;
        selectionList: string;
        showSecondaryInSearchOnly: boolean;
        testId: string;
        validatemessage: string;
        value: string;
        visibility: boolean;
    }
    Index

    Properties

    additionalProps: Object
    columns: Object[]

    column configuration to map the datapage results with multiselect items meta data below are the list of configurations supported : key : DP result column value which needs to be key in multiselect items list primary : DP result column value which needs to be primary text in multiselect list secondary : DP result column value which needs to be secondary text in multiselect list shown below primary text itemsRecordsColumn : column which contains list of records in DP for multiselect with group data that needs to be populated in items array for respective group item itemsGroupKeyColumn : DP result column value that can be compared with key value in multiselect group list

    datasource: string | any[]

    accepts datapage name(when listtype is datapage) or array of objects(when listtype is associated) with respective data that can be mapped based on columns prop

    groupColumnsConfig: any[]

    column configuration array to map the groupdata source results with multiselect group meta data below are the list of configurations supported : key : DP result column value which needs to be key in multiselect group list primary : DP result column value which needs to be primary text in multiselect list secondary : DP result column value which needs to be secondary text in multiselect list

    groupDataSource: any[]

    accepts an array of objects which contains the group data

    helperText: string

    helper text for multi select component

    hideLabel: boolean

    indicates whether to show label or not

    initialCaseClass: string

    accepts an original list of params

    isGroupData: boolean

    indicates whether multiselect component need to be configured to show group data which will show group items first -> on clicking any of group data -> shows it's respective items which can be selected

    label: string

    label for multi select component

    listType: string

    accepts values 'datapage', 'associated'

    matchPosition: string

    criteria for searching the results Ex : contains

    maxResultsDisplay: string

    max results that we need to get when we try to fetch results from data page

    parameters: Object | Object[]

    accepts an object/array of params that can be passed for datapage while fetching data

    placeholder: string

    placeholder for the input textbox in combobox

    primaryField: string
    readOnly: string | boolean

    indicates whether to show the multiselect component as readonly or editable

    readonlyContextList: any[]
    referenceList: string
    referenceType: string
    required: string | boolean

    indicates whether to show the multiselect component as required or not

    secondaryFields: string[]
    selectionKey: string
    selectionList: string
    showSecondaryInSearchOnly: boolean

    indicates whether to show secondary data only in search results or also while showing actual results

    testId: string

    testId that can be seen in DOM for combobox

    validatemessage: string

    validation message

    value: string

    input value for the text box

    visibility: boolean