You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Angular 8 with angular2-materialize (0.100.2) and I have a dropdown with multiple options. I am using reactive forms and everything is ok except after a form reset or submit.
The dropdown resets and checkboxes stay unchecked, but when I try to check one of the checkbox that was previously selected before reset, is starts to act inverted (checkbox is selected but form value is not, and when checkbox is not selected, form value is!)
This is the select html part:
<div #divReWorkType class="input-field col s5" (click)="stopProp($event);">
<select #cboReWorkType materialize="material_select" multiple
name="ReWorkType" id="ReWorkType" formControlName="ReWorkType">
<option disabled hidden>Escolha uma opção</option>
<option *ngFor="let item of this.refservice.ReWorkTypeStatusItems.Items;" [value]="item.ID">
{{ item.Descr }}
</option>
</select>
</div>
I am using Angular 8 with angular2-materialize (0.100.2) and I have a dropdown with multiple options. I am using reactive forms and everything is ok except after a form reset or submit.
The dropdown resets and checkboxes stay unchecked, but when I try to check one of the checkbox that was previously selected before reset, is starts to act inverted (checkbox is selected but form value is not, and when checkbox is not selected, form value is!)
This is the select html part:
This is the reset button html:
This is my form:
And this is the hidemodal function:
The text was updated successfully, but these errors were encountered: