问题描述
现在我正在使用owl datepicker。但这是在输入字段单击时打开的。我希望在输入框中单击datepicker图标将其打开。
<div class="btn-group mr-sm-2">
<ng-autocomplete
[(ngModel)]="Selectedemail"
[data]="data"
[searchKeyword]="keyword"
(selected)='selectEvent($event)'
[initialValue]="initialValue"
(inputChanged)='getServerResponse($event)'
(inputFocused)='onFocused($event)'
[itemTemplate]="itemTemplate"
(inputCleared)="searchCleared()"
[notFoundTemplate]="notFoundTemplate"
[debounceTime]="600"
[isLoading]="isLoadingResult"
[minQueryLength]="3"
placeHolder="Search Email">
</ng-autocomplete>
<span class="help-inline" id="invalid-email" *ngIf="showEmailErrorMessage">Please Enter email</span>
<ng-template #itemTemplate let-item>
<a [innerHTML]="item.email_id"></a>
</ng-template>
<ng-template #notFoundTemplate let-notFound>
<div [innerHTML]="notFound"></div>
</ng-template>
<!-- <span class="help-inline" ng-show="submitted && form.email.$error.required">required</span>
<span class="help-inline" ng-show="submitted && form.email.$error.email">Invalid email</span> -->
</div>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)