我有一个普通的超文本标记语言date input,在它旁边有一个font-awesome图标。此图标具有启动bsDatePicker的功能,但是,所选日期不会存储在任何位置。我想知道如何才能将选定的日期转换为日期输入? 这是HTML代码: //this is the common html input
<input type="date" class="form-control">
//and this is the fa icon that launches the calendar
<em #dp="bsDatepicker
如何避免在日期选择器字段中键入字母?
我在使用bsDatePicker
我使用了type="number",但是我收到了这个警告,我无法选择日期
"The specified value "02/03/2020" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?"