mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
@ -139,9 +139,11 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
SizedBox(
|
Form(
|
||||||
child: _buildDropdownField(
|
key: forgetBloc.forgetRegionKey,
|
||||||
context, forgetBloc, size))
|
child: SizedBox(
|
||||||
|
child: _buildDropdownField(
|
||||||
|
context, forgetBloc, size)))
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
@ -226,12 +228,10 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
|||||||
1
|
1
|
||||||
? null
|
? null
|
||||||
: () {
|
: () {
|
||||||
if (forgetBloc
|
if (forgetBloc.forgetEmailKey.currentState!.validate()||forgetBloc.forgetRegionKey.currentState!.validate()) {
|
||||||
.forgetEmailKey
|
if(forgetBloc.forgetRegionKey.currentState!.validate()){
|
||||||
.currentState!
|
forgetBloc.add(StartTimerEvent());
|
||||||
.validate()) {
|
}
|
||||||
forgetBloc.add(
|
|
||||||
StartTimerEvent());
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
@ -428,7 +428,7 @@ class ForgetPasswordWebPage extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Container(
|
SizedBox(
|
||||||
width: size.width * 0.9,
|
width: size.width * 0.9,
|
||||||
child: FormField<String>(
|
child: FormField<String>(
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
|
Reference in New Issue
Block a user