change event not occure in customize component using md2-select, md2-optgroup and md2-option
monikaa947 opened this issue · 0 comments
Bug, feature request, or proposal:
change event not occure
What is the expected behavior?
change event must be occure
What is the current behavior?
change event not occure
What are the steps to reproduce?
write change event to selector
Providing a Plunker (or similar) is the best way to get the team to see your issue.
<ss-multiselect-group-dropdown [options]="fieldLookup" name="fieldLookup{{i}}" [settings]="{checkedStyle: 'glyphicon', showCheckAll: false, enableSearch: true, showUncheckAll: false, isMultiple: false}" [texts]="{defaultTitle:'Select Field For Filter'}" [(ngModel)]="row.searchCrit" (change)="loadCondtionLookup($event)">
ss-multiselect-group-dropdown selector of my componenet in which i made customize component
<md2-select [placeholder]="placeHolderTitle" color="primary" [(ngModel)]="model" [multiple]="settings.isMultiple" [className]="settings.className"
(onClose)="closeDialog()" (change)="changeValue($event)" [disabled]="disabled" #selectMultipleControl="ngModel" (onOpen)="focusSearchElement()">
<div *ngIf="settings.enableSearch" class="search-wrapper clearfix">
<input mdInput type="text" #input color="primary" [(ngModel)]="searchFilterText" [placeholder]="texts.searchPlaceholder">
<div class="pull-left margin_top_10 close-button-wrapper" *ngIf="searchFilterText.length > 0">
<div (click)="clearSearch()">
<button md-raised-button color="primary" *ngIf="settings.showCheckAll" (click)="checkAll()">{{ texts.checkAll }}
<button md-raised-button color="primary" *ngIf="settings.showUncheckAll" (click)="uncheckAll()">{{ texts.uncheckAll }}
<md2-optgroup *ngFor="let groups of options | searchFilterOption:searchFilterText" [label]="groups.name" [hidden]="!groups.visible">
<md2-option *ngFor="let i of groups.group" [value]="i.id" [hidden]="!i.visible">
{{ i.name }}
</md2-option>
</md2-optgroup>
</div>
*html of component