Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Datepicker 结合UI.mask的角度UI引导弹出式日期选择器_Datepicker_Popup_Angularjs Directive_Angular Ui Bootstrap - Fatal编程技术网

Datepicker 结合UI.mask的角度UI引导弹出式日期选择器

Datepicker 结合UI.mask的角度UI引导弹出式日期选择器,datepicker,popup,angularjs-directive,angular-ui-bootstrap,Datepicker,Popup,Angularjs Directive,Angular Ui Bootstrap,我正在使用angular UI引导弹出式日期选择器,如下所示: 当我将其与uiMask指令()结合使用时,当我选择日期时,输入中的值会被置乱 我怀疑是因为角度模型的类型不同:datepicker需要JS Date对象/ui.mask需要(屏蔽)字符串 当拾取的日期被uiMask格式化/解析时,它会出错:-/ 我想做的是可能的吗 你好,汤姆。你能给我们看一些代码吗?

我正在使用angular UI引导弹出式日期选择器,如下所示:

当我将其与uiMask指令()结合使用时,当我选择日期时,输入中的值会被置乱

我怀疑是因为角度模型的类型不同:datepicker需要JS Date对象/ui.mask需要(屏蔽)字符串

当拾取的日期被uiMask格式化/解析时,它会出错:-/

我想做的是可能的吗


你好,汤姆。

你能给我们看一些代码吗?