mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
[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:
parent
6e37047776
commit
a72f3a201f
@ -2,15 +2,7 @@
|
|||||||
{{ "personalOwnershipExemption" | i18n }}
|
{{ "personalOwnershipExemption" | i18n }}
|
||||||
</bit-callout>
|
</bit-callout>
|
||||||
|
|
||||||
<div class="form-group">
|
<bit-form-control>
|
||||||
<div class="form-check">
|
<input type="checkbox" bitCheckbox [formControl]="enabled" id="enabled" />
|
||||||
<input
|
<bit-label>{{ "turnOn" | i18n }}</bit-label>
|
||||||
class="form-check-input"
|
</bit-form-control>
|
||||||
type="checkbox"
|
|
||||||
id="enabled"
|
|
||||||
[formControl]="enabled"
|
|
||||||
name="Enabled"
|
|
||||||
/>
|
|
||||||
<label class="form-check-label" for="enabled">{{ "turnOn" | i18n }}</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user