UI_CHNGS_TravelPolcy
This commit is contained in:
parent
020e890dae
commit
f9a3cbd91b
@ -49,10 +49,16 @@ class _LoginWidgetState extends State<LoginWidget> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_clearAllFields();
|
||||
|
||||
Future.delayed(Duration(milliseconds: 300), () {
|
||||
setState(() {
|
||||
_moved = true;
|
||||
Future.delayed(Duration(milliseconds: 500), () {
|
||||
// target only password fields
|
||||
html.document.querySelectorAll('input[type=password]').forEach((input) {
|
||||
input.setAttribute('autocomplete', 'one-time-code'); // or "off"
|
||||
input.setAttribute(
|
||||
'name',
|
||||
'fake-password',
|
||||
); // prevent matching stored creds
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -363,6 +369,8 @@ class _LoginWidgetState extends State<LoginWidget> {
|
||||
}
|
||||
|
||||
void _clearAllFields() {
|
||||
print("CLEAR ALL Fields");
|
||||
|
||||
_emailController.clear();
|
||||
_passwordController.clear();
|
||||
_otpController.clear();
|
||||
@ -600,6 +608,7 @@ class _LoginWidgetState extends State<LoginWidget> {
|
||||
),
|
||||
obscureText: _obscureText,
|
||||
textInputAction: TextInputAction.done,
|
||||
autofillHints: const [],
|
||||
decoration: _inputDecoration(
|
||||
"Enter your password",
|
||||
).copyWith(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
3226
lib/Screens/policy/policyCriteria26Aug.dart
Normal file
3226
lib/Screens/policy/policyCriteria26Aug.dart
Normal file
File diff suppressed because it is too large
Load Diff
3722
lib/Screens/policy/policyCriteria29Aug
Normal file
3722
lib/Screens/policy/policyCriteria29Aug
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user