您好,有没有办法通过按 angular 中的选项卡按钮在日期输入框中自动完成日期?
Hi, is there a way to make the date autocomplete in a Date Input box by pressing the tab button in angular?
您好,我正在努力实现一些目标:一旦用户在日期输入框中输入日期,当前月份和年份就会自动添加。它应该接受逗号分隔值并且应该是格式。知道怎么做吗?谢谢
尝试使用 ngx-datepicker
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input
class="form-control"
placeholder="Datepicker"
bsDatepicker
[bsConfig]="{ dateInputFormat: 'DD-MM-YYYY', containerClass: 'theme-red' }">
</div>
</div>
很简单 above.kindly 查看文档以获得更好的图片!
您好,我正在努力实现一些目标:一旦用户在日期输入框中输入日期,当前月份和年份就会自动添加。它应该接受逗号分隔值并且应该是格式。知道怎么做吗?谢谢
尝试使用 ngx-datepicker
<div class="row">
<div class="col-xs-12 col-12 col-md-4 form-group">
<input
class="form-control"
placeholder="Datepicker"
bsDatepicker
[bsConfig]="{ dateInputFormat: 'DD-MM-YYYY', containerClass: 'theme-red' }">
</div>
</div>
很简单 above.kindly 查看文档以获得更好的图片!