【发布时间】:2019-07-19 14:02:19
【问题描述】:
我使用了ng-otp-input npm,当我在文本框中输入 0 时,它不会移动/聚焦在下一个文本框上。
我试过了:
<ng-otp-input (onInputChange)="onOtpChange($event)" [config]="config">
</ng-otp-input>
config = {
allowNumbersOnly: false,
length: 4,
inputStyles: {
'color': 'white',
'width': '30px',
'height': '50px',
'border': 'none',
'background': 'rgba(255, 255, 255, 0.25)'
}
}
【问题讨论】:
标签: angular6