pikaday-angular
pikaday-angular copied to clipboard
Conflict with other directives
Hi, there. I discovered the conflict of your plugin with another. I'm using ui-mask in my project to set the masked input of my date in format 'DD.MM.YYYY' and using a trigger to open pickaday calendar.
Markup:
<input
ui-mask
clear-errors
model-view-value="true"
ui-mask-placeholder-char="-"
ng-attr-ui-mask="99.99.9999"
ng-model="$ctrl.registerData.securityQuestionDate"
format="DD.MM.YYYY"
pikaday="$ctrl.registerData.pickerObject"
type="text"
class="form-control"
id="registerSecurityQuestion"
placeholder="DD.MM.YYYY"
trigger="datepicker-button">
<div
id="datepicker-button"
ng-click="$ctrl.focusInput('registerSecurityQuestion')"
class="input-group-addon input-group-addon_button">
<span class="icon icon_calendar"></span>
</div>
When I select the date calendar doesn't hide. Only after second click.
How can I handle that event?