When specifying Lookup Filters on a field, if “Another Field From Row” is selected for “Content”, the UI Only Fields on that row are not available to be selected.
Note - If you choose “Field From Another Model”, the UI only fields are available for selection.
Steps to reproduce:
- Create page using XML below
- Open page in Builder
- Click Parent Account Id
- Go to Filters tab
- Select Source Field “selector button”
Expected Behavior
UI Only fields are in the list of available fields
Actual Behavior
UI Only fields are not in the list to be selected
Sample Page XML
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account"> <models>
<model id="Account" limit="1" query="true" createrowifnonefound="false" sobject="Account" adapter="" type="">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
<field id="ParentId"/>
<field id="Parent.Name"/>
<field id="ParentAccountNameFilter" uionly="true" displaytype="TEXT" label="Parent Account Name Filter"/>
</fields>
<conditions>
<condition type="param" enclosevalueinquotes="true" operator="=" field="Id" value="id"/>
</conditions>
<actions/>
</model>
</models>
<components>
<pagetitle model="Account" uniqueid="sk-2qb6ls-70">
<maintitle>
<template>{{Name}}</template>
</maintitle>
<subtitle>
<template>{{Model.label}}</template>
</subtitle>
<actions>
<action type="savecancel" window="self"/>
</actions>
</pagetitle>
<basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="read" uniqueid="sk-2qb6ls-71">
<columns>
<column width="100%">
<sections>
<section title="Basics">
<fields>
<field id="ParentAccountNameFilter" valuehalign="" type=""/>
<field id="Name"/>
<field id="ParentId" valuehalign="" type="">
<filters>
<filter type="dependent" operator="=" field="Name" value="" mergefield="Id" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
</filters>
</field>
</fields>
</section>
</sections>
</column>
</columns>
</basicfieldeditor>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>