Wiki源代码08 Date&Time

maym 于 2025/04/30 10:00 最后修改

隐藏最后作者
yufei li 7.4 1 **Feature Overview**
yufei li 1.1 2
yufei li 7.4 3 The Date and Time widget is used for selecting specific dates and times.
yufei li 1.1 4
yufei li 7.4 5 **Use Cases**
yufei li 1.1 6
yufei li 7.4 7 It is suitable for scenarios like selecting meeting times, birthdays, expiration dates, etc.
yufei li 1.1 8
yufei li 7.4 9 **Setting Method**
yufei li 1.1 10
yufei li 7.4 11 Click on the Date and Time widget in the basic fields or drag and drop the Date and Time widget onto the canvas. Users can then select the date and time format.
yufei li 1.1 12
13
yufei li 7.4 14 **Widget Properties**
yufei li 1.1 15
yufei li 7.4 16 (% style="width:1184px" %)
maym 8.1 17 |(% style="width:155px" %)**Widget Properties**|(% style="width:156px" %)**Settings Options**|(% style="width:871px" %)**Settings Options Description**
18 |(% rowspan="6" style="width:155px" %)Basic Properties|(% style="width:156px" %)Name|(% style="width:871px" %)Used to distinguish different widgets.
19 |(% style="width:156px" %)Display Name|(% style="width:871px" %)Used to control whether the widget name is displayed when filling out the form.
20 |(% style="width:156px" %)Width|(% style="width:871px" %)Used to control the display width of the current widget when filling out the form.
21 |(% style="width:156px" %)Placeholder|(% style="width:871px" %)Used to guide the filler in entering content.
22 |(% style="width:156px" %)Help Text|(% style="width:871px" %)A question mark hover appears when filling out the form, which can display help text.
23 |(% style="width:156px" %)Permissions|(% style="width:871px" %)(((
yufei li 7.4 24 Visibility Permissions: Visible, Conditionally Visible, Invisible;
maym 7.1 25
yufei li 7.4 26 Edit Permissions (precondition: visibility permissions): Editable, Non-editable;
maym 7.1 27
yufei li 7.4 28 Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;
maym 7.1 29
yufei li 7.4 30 Field permissions only take effect in non-process forms;
maym 7.1 31
yufei li 7.4 32 Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
maym 7.1 33 )))
maym 8.1 34 |(% rowspan="4" style="width:155px" %)Special Properties|(% style="width:156px" %)Time Format|(% style="width:871px" %)Dropdown Single-Select Box, Default Value: YYYY-MM-DD HH:mm:ss
yufei li 7.4 35 As shown in the figure below:
36 [[image:1740723518483-931.png]]
maym 8.1 37 |(% style="width:156px" %)Default Value(assigned only when the control is loaded for the first time)|(% style="width:871px" %)(((
38 Customization: Configure a fixed time;
39
40 Formula calculation: Obtain a dynamically calculated time value through a formula function
41 )))
42 |(% style="width:156px" %)Formula value|(% style="width:871px" %)Dynamically obtain the result calculated by the formula when the value of the control used in the formula changes, and obtain the default value based on the formula calculation
43 |(% style="width:156px" %)Optional Range|(% style="width:871px" %)Can dynamically set the selectable event range of this date and time widget based on the controls in the form.