You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: accessibility/keyboard-navigation.md
+31-29Lines changed: 31 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -18,63 +18,65 @@ By default, users can only navigate to links, buttons, and form controls with a
18
18
19
19
The following list shows the Telerik components that support specific keyboard combinations and links to live demos where you can see the behavior in action, together with the available keyboard shortcuts:
* ListView - not applicable, its entire rendering is up to the app. Its pager is a separate component that offers accessibility and keyboardnavigation.
The UI for Blazor suite supports and integrates seamlessly into Blazor's Forms and Validation infrastructure. All Telerik UI for Blazor Input components work out of the box when placed inside an `EditForm`, respond to `EditContext` changes and provide default invalid styles.
@@ -27,6 +26,7 @@ This article provides examples of validating the Telerik Blazor components. The
27
26
*[ComboBox](#combobox)
28
27
*[MultiSelect](#multiselect)
29
28
*[DateRangePicker](#daterangepicker)
29
+
*[Editor](#editor)
30
30
31
31
32
32
@@ -320,7 +320,7 @@ The ComboBox works with the `Value` of the selected item (through its `ValueFiel
320
320
321
321
The MultiSelect has a value that is a `List` and the validation attributes must take that into account (for example, a regular expression attribute cannot work).
322
322
323
-
>caption How to validated a MultiSelect
323
+
>caption How to validate a MultiSelect
324
324
325
325
````CSHTML
326
326
@using System.ComponentModel.DataAnnotations
@@ -353,7 +353,7 @@ The MultiSelect has a value that is a `List` and the validation attributes must
@@ -446,6 +446,47 @@ There is no built-in provision in the framework for validating a field value bas
446
446
````
447
447
448
448
449
+
## Editor
450
+
451
+
The Editor produces an HTML string in the field you bind its `Value` to. Thus, while the user may see a certain amount of content, the actual content may have more symbols, because the HTML tags count towards the total string length, but the user does not see them.
452
+
453
+
Unlike other components, the editor does not trigger form validation on every keystroke, because it is expected to require a lot of content and that would be bad for performance. Validation is still triggered upon the `ValueChanged` event, but that fires with a delay - the `UpdateInterval` parameter which defaults to 100ms.
454
+
455
+
>caption How to validate the Editor component
456
+
457
+
````CSHTML
458
+
@using System.ComponentModel.DataAnnotations
459
+
@* This Using is for the model class attributes only *@
Copy file name to clipboardExpand all lines: components/contextmenu/overview.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -153,9 +153,9 @@ A menu is often used to list pages, views or sections in an application so the u
153
153
154
154
## Know The Target And Adjust Items
155
155
156
-
Using the simple `Selector`paramter to attach the context menu to one or more targets at a time is simple, and can be useful when you want the same menu for many elements, but it does not matter which one the user clicked.
156
+
Using the simple `Selector`parameter to attach the context menu to one or more targets at a time is simple, and can be useful when you want the same menu for many elements, but it does not matter which one the user clicked.
157
157
158
-
In some cases, you may need to know which element the user clicked so you can use it in the command handling. You may also want to adjust the menu contentes based on which element the user clicked (e.g., disable or entirely remove some items from the menu based on a condition).
158
+
In some cases, you may need to know which element the user clicked so you can use it in the command handling. You may also want to adjust the menu contents based on which element the user clicked (e.g., disable or entirely remove some items from the menu based on a condition).
159
159
160
160
To achieve such flexibility and granularity, you can:
0 commit comments