1
0
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:
jcuenca95 2023-01-17 16:13:28 +01:00 committed by GitHub
parent 11a30ea92c
commit a9db6b2d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 13 deletions

View File

@ -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">

View File

@ -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],
}) })