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 35548f4 commit 42d026fCopy full SHA for 42d026f
src/BootstrapBlazor/Components/IpAddress/IpAddress.razor.js
@@ -54,8 +54,7 @@ export function init(id) {
54
else if (e.key === 'Backspace') {
55
if (c.value.length <= 1) {
56
c.value = "0"
57
- if (index === 0)
58
- e.preventDefault();
+ e.preventDefault();
59
const prevCell = selectCell(el, index - 1)
60
prevCell.selectionStart = prevCell.value.length
61
prevCell.selectionEnd = prevCell.value.length
@@ -72,7 +71,7 @@ export function init(id) {
72
71
selectCell(el, index - 1)
73
}
74
else if (e.key === 'Delete' || e.key === 'Tab' || e.key === 'ArrowLeft' || e.key === 'ArrowRight') {
75
-
+ //原逻辑不做修改
76
77
else {
78
e.preventDefault()
0 commit comments