Name lost when creating custom gateway

This commit is contained in:
Hillel Coren 2022-01-16 16:57:08 +02:00
parent 17694e30c7
commit eb335c7cd2
1 changed files with 1 additions and 4 deletions

View File

@ -529,7 +529,6 @@ class GatewayConfigField extends StatefulWidget {
class _GatewayConfigFieldState extends State<GatewayConfigField> { class _GatewayConfigFieldState extends State<GatewayConfigField> {
bool autoValidate = false; bool autoValidate = false;
TextEditingController _textController; TextEditingController _textController;
final _debouncer = Debouncer();
@override @override
void initState() { void initState() {
@ -555,9 +554,7 @@ class _GatewayConfigFieldState extends State<GatewayConfigField> {
} }
void _onChanged() { void _onChanged() {
_debouncer.run(() { widget.onChanged(_textController.text.trim());
widget.onChanged(_textController.text.trim());
});
} }
bool _obscureText(String field) { bool _obscureText(String field) {