[PM-11613] Refactor personal-ownership.component to use reactive form (#11440)

* Refactor personal-ownership.component to use reactive form

* Refactor personal-ownership policy component to use base component form control
This commit is contained in:
Brandon Treston 2024-10-16 15:17:23 -04:00 committed by GitHub
parent 6e37047776
commit a72f3a201f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 12 deletions

View File

@ -2,15 +2,7 @@
{{ "personalOwnershipExemption" | i18n }}
</bit-callout>
<div class="form-group">
<div class="form-check">
<input
class="form-check-input"
type="checkbox"
id="enabled"
[formControl]="enabled"
name="Enabled"
/>
<label class="form-check-label" for="enabled">{{ "turnOn" | i18n }}</label>
</div>
</div>
<bit-form-control>
<input type="checkbox" bitCheckbox [formControl]="enabled" id="enabled" />
<bit-label>{{ "turnOn" | i18n }}</bit-label>
</bit-form-control>