Name lost when creating custom gateway
This commit is contained in:
parent
17694e30c7
commit
eb335c7cd2
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue