We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a66f7 commit 1f6ae65Copy full SHA for 1f6ae65
1 file changed
src/BootstrapBlazor/Components/Input/OtpInput.razor.js
@@ -14,6 +14,10 @@ export function init(id) {
14
input.value = [...el.querySelectorAll('.bb-opt-item')].map(input => input.value).join('');
15
});
16
EventHandler.on(el, 'keydown', '.bb-opt-item', e => {
17
+ if (e.ctrlKey) {
18
+ return;
19
+ }
20
+
21
const isNumber = e.target.getAttribute('type') === 'number';
22
if (skipKeys.indexOf(e.key) > -1) {
23
0 commit comments