Skip to content

Commit dff622e

Browse files
committed
Update Drop Down
1 parent 43702e7 commit dff622e

1 file changed

Lines changed: 40 additions & 30 deletions

File tree

  • content/en/docs/refguide/modeling/pages/input-widgets

content/en/docs/refguide/modeling/pages/input-widgets/drop-down.md

Lines changed: 40 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -44,71 +44,81 @@ Styling:
4444

4545
## 3 Properties
4646

47-
## 4 Styling
47+
### 3.1 General Section{#general}
4848

49-
### 2.1 Common Section{#common}
49+
#### 3.1.1 Empty Option Caption
5050

51-
{{% snippet file="/static/_includes/refguide/common-section-link.md" %}}
51+
Empty option caption is the text that is shown for the empty option in the drop-down shown to the end-user. This is a translatable text. For more details, see [Language Menu](/refguide/translatable-texts/).
52+
53+
Adding a caption for the empty option improves the user experience of your application. It also helps end-users using a screen-reader to operate the application easily.
5254

53-
### 2.2 Data Source Section{#data-source}
55+
For example, the drop-down that allows the end-user to select the region allocated to a customer, where the possible values for **Region** are held in an enumeration, could have the caption `Select a region`.
56+
57+
{{< figure src="/attachments/refguide/modeling/pages/input-widgets/drop-down/select-a-region.png" >}}
58+
59+
### 3.2 Data Source Section{#data-source}
5460

5561
{{% snippet file="/static/_includes/refguide/data-source-section-link.md" %}}
5662

57-
### 2.3 Design Properties Section{#design-properties}
63+
### 3.3 Label Section{#label}
5864

59-
{{% snippet file="/static/_includes/refguide/design-section-link.md" %}}
65+
{{% snippet file="/static/_includes/refguide/label-section-link.md" %}}
6066

61-
### 2.4 Editability Section{#editability}
67+
### 3.4 Editability Section{#editability}
6268

6369
{{% snippet file="/static/_includes/refguide/editability-section-link.md" %}}
6470

65-
### 2.5 Events Section{#events}
71+
### 3.5 Visibility Section{#visibility}
6672

67-
#### 2.5.1 On Change{#on-change}
73+
{{% snippet file="/static/_includes/refguide/visibility-section-link.md" %}}
6874

69-
The on-change property specifies an action that will be executed when leaving the widget, either by using the <kbd>Tab</kbd> key or by clicking another widget, after the value has been changed.
75+
### 3.6 Validation Section{#validation}
7076

71-
{{% snippet file="/static/_includes/refguide/events-section-link.md" %}}
77+
{{% snippet file="/static/_includes/refguide/widget-validation-link.md" %}}
7278

73-
#### 2.5.2 On Enter
79+
### 3.7 Accessibility Section{#accessibility}
7480

75-
The on-enter property specifies an action that will be executed when the widget is entered, either by using the <kbd>Tab</kbd> key or by clicking it with the mouse.
81+
### 3.7.1 Aria Required
7682

77-
{{% snippet file="/static/_includes/refguide/events-section-link.md" %}}
83+
In a text area widget, when **Aria required** is set to **Yes** then assistive technologies will read out the field that is required. When set to **No** then assistive technologies will not read the field out.
7884

79-
#### 2.5.3 On Leave
85+
### 3.8 Common Section{#common}
8086

81-
The on-leave property specifies an action that will be executed when leaving the widget, either by using the <kbd>Tab</kbd> key or by clicking another widget.
87+
{{% snippet file="/static/_includes/refguide/common-section-link.md" %}}
8288

83-
This differs from the [On change](#on-change) property in that the event will always be triggered, even if the value has not been changed.
89+
### 3.9 Events Section{#events}
90+
91+
#### 3.9.1 On Change{#on-change}
92+
93+
The on-change property specifies an action that will be executed when leaving the widget, either by using the <kbd>Tab</kbd> key or by clicking another widget, after the value has been changed.
8494

8595
{{% snippet file="/static/_includes/refguide/events-section-link.md" %}}
8696

87-
### 2.6 General Section{#general}
97+
#### 3.9.2 On Enter
8898

89-
#### 2.6.1 Empty Option Caption
99+
The on-enter property specifies an action that will be executed when the widget is entered, either by using the <kbd>Tab</kbd> key or by clicking it with the mouse.
90100

91-
Empty option caption is the text that is shown for the empty option in the drop-down shown to the end-user. This is a translatable text. For more details, see [Language Menu](/refguide/translatable-texts/).
101+
{{% snippet file="/static/_includes/refguide/events-section-link.md" %}}
92102

93-
Adding a caption for the empty option improves the user experience of your application. It also helps end-users using a screen-reader to operate the application easily.
103+
#### 3.9.3 On Leave
94104

95-
For example, the drop-down that allows the end-user to select the region allocated to a customer, where the possible values for **Region** are held in an enumeration, could have the caption `Select a region`.
105+
The on-leave property specifies an action that will be executed when leaving the widget, either by using the <kbd>Tab</kbd> key or by clicking another widget.
96106

97-
{{< figure src="/attachments/refguide/modeling/pages/input-widgets/drop-down/select-a-region.png" >}}
107+
This differs from the [On change](#on-change) property in that the event will always be triggered, even if the value has not been changed.
98108

99-
### 2.7 Label Section{#label}
109+
{{% snippet file="/static/_includes/refguide/events-section-link.md" %}}
100110

101-
{{% snippet file="/static/_includes/refguide/label-section-link.md" %}}
111+
## 4 Styling
102112

103-
### 2.8 Validation Section{#validation}
113+
### 4.1 Design Properties Section{#design-properties}
104114

105-
{{% snippet file="/static/_includes/refguide/widget-validation-link.md" %}}
115+
{{% snippet file="/static/_includes/refguide/design-section-link.md" %}}
106116

107-
### 2.9 Visibility Section{#visibility}
117+
### 4.2 Common Section{#common-styling}
108118

109-
{{% snippet file="/static/_includes/refguide/visibility-section-link.md" %}}
119+
{{% snippet file="/static/_includes/refguide/common-section-link.md" %}}
110120

111-
## 3 Read More
121+
## 5 Read More
112122

113123
* [Data View](/refguide/data-view/)
114124
* [Attributes](/refguide/attributes/)

0 commit comments

Comments
 (0)