edit-datetime

Overview

To get started, see the introductory guide on editable object-table cells.

This editable cell triggers a date picker, followed by a time picker once a valid date has been selected. The input and output value will always be of JavaScript type Date, unless the value is cleared - in which case the value will be null.

Basic Example

<object-table ...>
    <column display="{field}">
        <edit-datetime value="$object.field" on-change="$:valueChanged($object, newValue, oldValue)" />
    </column>
</object-table>

Standard Attributes

on-change

See edit-text > on-change

value

See edit-text > value

Advanced Attributes

clear-button-visibility

clear-button-visibility

disabled

See edit-text > disabled

Last updated