mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-03 18:28:13 +01:00
[PS-1872] remember me label triggers toggle (#4046)
* remember me label triggers toggle * fix using new bitCheckbox * changes using merge * Update apps/web/src/app/accounts/login/login.component.html Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com> * CheckboxModule imported Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
parent
11a30ea92c
commit
a9db6b2d7d
@ -32,18 +32,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tw-mb-3 tw-flex tw-items-start">
|
<div class="tw-mb-3 tw-flex tw-items-start">
|
||||||
<div class="tw-flex tw-h-6 tw-items-center">
|
<bit-form-control class="tw-mb-0">
|
||||||
<input
|
<input type="checkbox" bitCheckbox formControlName="rememberEmail" />
|
||||||
id="login_input_remember-email"
|
<bit-label>{{ "rememberEmail" | i18n }}</bit-label>
|
||||||
class="tw-w-4 tw-rounded tw-border"
|
</bit-form-control>
|
||||||
bitInput
|
|
||||||
type="checkbox"
|
|
||||||
formControlName="rememberEmail"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<bit-label class="ml-2">
|
|
||||||
{{ "rememberEmail" | i18n }}
|
|
||||||
</bit-label>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tw-mb-3">
|
<div class="tw-mb-3">
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
|
import { CheckboxModule } from "@bitwarden/components";
|
||||||
|
|
||||||
import { SharedModule } from "../../shared";
|
import { SharedModule } from "../../shared";
|
||||||
|
|
||||||
import { LoginWithDeviceComponent } from "./login-with-device.component";
|
import { LoginWithDeviceComponent } from "./login-with-device.component";
|
||||||
import { LoginComponent } from "./login.component";
|
import { LoginComponent } from "./login.component";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [SharedModule],
|
imports: [SharedModule, CheckboxModule],
|
||||||
declarations: [LoginComponent, LoginWithDeviceComponent],
|
declarations: [LoginComponent, LoginWithDeviceComponent],
|
||||||
exports: [LoginComponent, LoginWithDeviceComponent],
|
exports: [LoginComponent, LoginWithDeviceComponent],
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user