When a model is marked to process client side, NOT load data and create row if none, conditionally rendered elements are not updating as data for the conditions change.
This issue is similar to others posted regarding client side processing and similar to issues seen in the past (6.x release & 7.x release) with conditional rendering on rows created when none.
Steps to repro:
- Create page using sample XML
- Preview page
- Click “Update to Joe”
Expected
Name != Joe button disappears, Name = Joe apears Page Title updated to Joe
Actual
Name != Joe remains, Name = Joe does not appear, Page Title not updated
Sample Page XML
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account"> <models>
<model id="Account" limit="1" query="false" createrowifnonefound="true" sobject="Account" adapter="" type="" doclone="" processonclient="true">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
</fields>
<conditions/>
<actions/>
</model>
</models>
<components>
<pagetitle model="Account" uniqueid="sk-3dXrcv-67">
<maintitle>
<template>{{Name}}</template>
</maintitle>
<subtitle>
<template>{{Model.label}}</template>
</subtitle>
<actions>
<action type="multi" label="Name = Joe">
<renderconditions logictype="and">
<rendercondition type="fieldvalue" operator="=" enclosevalueinquotes="true" fieldmodel="Account" sourcetype="fieldvalue" field="Name" value="Joe"/>
</renderconditions>
<enableconditions logictype="and"/>
</action>
<action type="multi" label="Name != Joe">
<renderconditions logictype="and">
<rendercondition type="fieldvalue" operator="!=" enclosevalueinquotes="true" fieldmodel="Account" sourcetype="fieldvalue" field="Name" value="Joe"/>
</renderconditions>
<enableconditions/>
</action>
<action type="multi" label="Update To Joe">
<actions>
<action type="updateRow" fieldmodel="Account" field="Name" enclosevalueinquotes="true" value="Joe"/>
</actions>
</action>
<action type="multi" label="Update To Steve">
<actions>
<action type="updateRow" fieldmodel="Account" field="Name" enclosevalueinquotes="true" value="Steve"/>
</actions>
</action>
</actions>
</pagetitle>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>