Skip to content

Commit 6740619

Browse files
authored
Update dataFetcherCPE.html
1 parent b6b53e0 commit 6740619

File tree

1 file changed

+30
-23
lines changed

1 file changed

+30
-23
lines changed

Data Fetcher/force-app/main/default/lwc/dataFetcherCPE/dataFetcherCPE.html

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,36 @@
66
@last modified by : Josh Dayment
77
-->
88
<template>
9-
<lightning-input type="checkbox" label="Show SOSL Configuration" name="showSOSL" onchange={handleCheckboxChange} field-level-help="When checked SOSL configuration options will show" checked></lightning-input>
10-
<c-data-fetcher-object-picker object-label={inputValues.objectName1.label} name="objectName1"
11-
object-type={inputValues.objectName1.value} available-object-types="All" hide-field-picklist=true
12-
onfieldselected={handleObjectChange} required>
9+
<lightning-input type="checkbox" label="Show SOSL Configuration" name="showSOSL" onchange={handleCheckboxChange}
10+
field-level-help="When checked SOSL configuration options will show" checked></lightning-input>
11+
<c-data-fetcher-object-picker object-label={inputValues.objectName1.label} name="objectName1"
12+
object-type={inputValues.objectName1.value} available-object-types="All" hide-field-picklist=true
13+
onfieldselected={handleObjectChange} required>
14+
</c-data-fetcher-object-picker>
15+
<template lwc:if={isChecked}>
16+
<c-data-fetcher-object-picker object-label={inputValues.objectName2.label} name="objectName2"
17+
object-type={inputValues.objectName2.value} available-object-types="All" hide-field-picklist=true
18+
onfieldselected={handleSecondObjectChange}
19+
field-level-help="This is optional when using SOSL to return a second set of records from a different object">
1320
</c-data-fetcher-object-picker>
14-
<template lwc:if={isChecked}>
15-
<c-data-fetcher-object-picker object-label={inputValues.objectName2.label} name="objectName2"
16-
object-type={inputValues.objectName2.value} available-object-types="All" hide-field-picklist=true
17-
onfieldselected={handleSecondObjectChange} field-level-help="This is optional when using SOSL to return a second set of records from a different object">
18-
</c-data-fetcher-object-picker>
19-
</template>
20-
<c-data-fetcher-c-p-e-combobox name="queryString" value={inputValues.queryString.value}
21-
label={inputValues.queryString.label} builder-context={_builderContext}
21+
</template>
22+
<c-data-fetcher-c-p-e-combobox name="queryString" value={inputValues.queryString.value}
23+
label={inputValues.queryString.label} builder-context={_builderContext}
24+
automatic-output-variables={automaticOutputVariables}
25+
onvaluechanged={handleFlowComboboxValueChange}></c-data-fetcher-c-p-e-combobox>
26+
<template lwc:if={isChecked}>
27+
<c-data-fetcher-c-p-e-combobox name="searchString" value={inputValues.searchString.value}
28+
label={inputValues.searchString.label} builder-context={_builderContext}
2229
automatic-output-variables={automaticOutputVariables}
2330
onvaluechanged={handleFlowComboboxValueChange}></c-data-fetcher-c-p-e-combobox>
24-
<template lwc:if={isChecked}>
25-
<c-data-fetcher-c-p-e-combobox name="searchString" value={inputValues.searchString.value}
26-
label={inputValues.searchString.label} builder-context={_builderContext}
27-
automatic-output-variables={automaticOutputVariables}
28-
onvaluechanged={handleFlowComboboxValueChange}></c-data-fetcher-c-p-e-combobox>
29-
</template>
30-
<c-data-fetcher-c-p-e-combobox name="aggQueryString" value={inputValues.aggQueryString.value}
31-
label={inputValues.aggQueryString.label} builder-context={_builderContext}
32-
automatic-output-variables={automaticOutputVariables}
33-
onvaluechanged={handleFlowComboboxValueChange}></c-data-fetcher-c-p-e-combobox>
34-
</template>
31+
</template>
32+
<c-data-fetcher-c-p-e-combobox name="aggQueryString" value={inputValues.aggQueryString.value}
33+
label={inputValues.aggQueryString.label} builder-context={_builderContext}
34+
automatic-output-variables={automaticOutputVariables}
35+
onvaluechanged={handleFlowComboboxValueChange}></c-data-fetcher-c-p-e-combobox>
36+
<c-data-fetcher-c-p-e-combobox name="debounceTime" value={inputValues.debounceTime.value}
37+
label={inputValues.debounceTime.label} builder-context={_builderContext}
38+
automatic-output-variables={automaticOutputVariables}
39+
onvaluechanged={handleFlowComboboxValueChange}></c-data-fetcher-c-p-e-combobox>
40+
41+
</template>

0 commit comments

Comments
 (0)