Skip to main content

Hi in v1, on inline editing you can clear out the field just by deleting the date


in v2 it will clear out when you delete the date, but date-time fields don’t.


<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false">
<models>
<model id="NewModel" limit="20" query="true" datasource="Ui-Only" createrowifnonefound="true">
<fields>
<field id="NewField" displaytype="DATETIME" length="255" ogdisplaytype="TEXT"/>
</fields>
<conditions/>
<actions/>
</model>
</models>
<components>
<skuid__form showErrorsInline="true" model="NewModel" uniqueid="sk-2512-12181" mode="read">
<columns>
<column>
<sections>
<section title="New Section" showHeading="false">
<fields>
<skuid__field id="NewField" uniqueId="sk-2512-12182"/>
</fields>
</section>
</sections>
</column>
<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
<sections>
<section title="New Section" showHeading="false">
<fields>
<skuid__field type="CUSTOM_BUTTON_GROUP" label="Buttons" uniqueId="sk-251b-17285">
<skuid__buttonGroup uniqueId="sk-251b-17352">
<buttons>
<skuid__button label="Clear Date" uniqueId="sk-251b-17353">
<actions>
<action type="updateRow" fieldmodel="NewModel" affectedrows="context">
<updates>
<update valuesource="blank" field="NewField" enclosevalueinquotes="false"/>
</updates>
</action>
</actions>
</skuid__button>
</buttons>
</skuid__buttonGroup>
</skuid__field>
</fields>
</section>
</sections>
</column>
</columns>
</skuid__form>
</components>
<resources>
<labels/>
<javascript/>
<actionsequences/>
</resources>
<background/>
<interactions/>
<surfaces/>
</skuid__page>

Hi Dave, thanks for reporting this one and for the page XML. I’ve logged it with the product team. We’ll let you know when the issue is resolved.


The workaround for now is to use a button or a button-field that uses the “update field” action to update the date-time field to “null”.


Do your users commonly need to clear out the value of date-time fields?


yes, in some processes it’s very common for us to have to do so


Reply