Skip to content

Commit 4fe11b3

Browse files
xristianstefanovTsvetomir-Hr
authored andcommitted
Update knowledge-base/combobox-prevent-numeric.md
Co-authored-by: Tsvetomir Hristov <[email protected]>
1 parent e34690d commit 4fe11b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knowledge-base/combobox-prevent-numeric.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ I want to restrict typing numbers in the [`ComboBox`](slug:components/combobox/o
2828

2929
To prevent users from entering numbers in the ComboBox:
3030

31-
1. Wrap the component in an HTML element and use the `onkeydown` event to capture every keystroke.
31+
1. Wrap the component in an HTML element and use the [`onkeydown` event](https://www.w3schools.com/jsref/event_onkeydown.asp) to capture every keystroke.
3232
2. Implement a JavaScript function that prevents the numbers.
3333

3434
Below is the implementation:

0 commit comments

Comments
 (0)