Only send first debouncer action in settings
This commit is contained in:
parent
3d34cfa06a
commit
8408827d47
|
|
@ -50,7 +50,10 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
bool _isSubdomainUnique = true;
|
||||
bool _isCheckingSubdomain = false;
|
||||
|
||||
final _debouncer = Debouncer(milliseconds: kMillisecondsToDebounceSave);
|
||||
final _debouncer = Debouncer(
|
||||
milliseconds: kMillisecondsToDebounceSave,
|
||||
sendFirstAction: true,
|
||||
);
|
||||
final _subdomainController = TextEditingController();
|
||||
final _portalDomainController = TextEditingController();
|
||||
final _customCssController = TextEditingController();
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class _CompanyDetailsState extends State<CompanyDetails>
|
|||
final FocusScopeNode _focusNode = FocusScopeNode();
|
||||
TabController _controller;
|
||||
bool autoValidate = false;
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
final _nameController = TextEditingController();
|
||||
final _idNumberController = TextEditingController();
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@ class _CustomFormFieldState extends State<CustomFormField> {
|
|||
String _fieldType = kFieldTypeSingleLineText;
|
||||
|
||||
List<TextEditingController> _controllers = [];
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class _GeneratedNumbersState extends State<GeneratedNumbers>
|
|||
final _recurringPrefixController = TextEditingController();
|
||||
|
||||
List<TextEditingController> _controllers = [];
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
|
|
@ -454,7 +454,7 @@ class _EntityNumberSettingsState extends State<EntityNumberSettings> {
|
|||
final _patternController = TextEditingController();
|
||||
|
||||
List<TextEditingController> _controllers = [];
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class _TemplatesAndRemindersState extends State<TemplatesAndReminders>
|
|||
with SingleTickerProviderStateMixin {
|
||||
static final GlobalKey<FormState> _formKey =
|
||||
GlobalKey<FormState>(debugLabel: '_templatesAndReminders');
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
String _lastSubject;
|
||||
String _lastBody;
|
||||
|
|
@ -451,7 +451,7 @@ class _ReminderSettingsState extends State<ReminderSettings> {
|
|||
String _schedule;
|
||||
|
||||
List<TextEditingController> _controllers = [];
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ class _UserDetailsState extends State<UserDetails>
|
|||
final _passwordController = TextEditingController();
|
||||
|
||||
List<TextEditingController> _controllers = [];
|
||||
final _debouncer = Debouncer();
|
||||
final _debouncer = Debouncer(sendFirstAction: true);
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue