Refactored ngb components

This commit is contained in:
softsimon committed 2022-11-28 16:53:17 +09:00
1 parent c2f45f9bc1
commit c8aea18c5e
17 files changed
+384 -932

No files matched your search

@@ -55,12 +55,12 @@
<div class="toggle-holder">
<form [formGroup]="socketToggleForm" class="formRadioGroup">
<div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="socket">
<label ngbButtonLabel class="btn-primary btn-sm">
<input ngbButton type="radio" [value]="0">IPv4
<div class="btn-group btn-group-toggle" name="radioBasic">
<label class="btn btn-primary btn-sm" [class.active]="socketToggleForm.get('socket').value === 0">
<input type="radio" [value]="0" formControlName="socket">IPv4
</label>
<label ngbButtonLabel class="btn-primary btn-sm">
<input ngbButton type="radio" [value]="1">IPv6
<label class="btn btn-primary btn-sm" [class.active]="socketToggleForm.get('socket').value === 1">
<input type="radio" [value]="1" formControlName="socket">IPv6
</label>
</div>
</form>