|
@@ -60,6 +60,9 @@ class _WebReqCreatePageState extends State<WebReqCreatePage> {
|
|
reqFunc.getSuggestionLocation(context);
|
|
reqFunc.getSuggestionLocation(context);
|
|
U.getOtherLabelList(context);
|
|
U.getOtherLabelList(context);
|
|
// TODO: implement initState
|
|
// TODO: implement initState
|
|
|
|
+ focusNodeLocation.addListener(() {
|
|
|
|
+ context.read<CreateSerModule>().setLocationType(2);
|
|
|
|
+ });
|
|
super.initState();
|
|
super.initState();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -542,7 +545,7 @@ class _WebReqCreatePageState extends State<WebReqCreatePage> {
|
|
} else if (controllerDateString.text.trim().isNotEmpty && widget.request['noteFormat'] == 'DATE'){
|
|
} else if (controllerDateString.text.trim().isNotEmpty && widget.request['noteFormat'] == 'DATE'){
|
|
dialogSendLater();
|
|
dialogSendLater();
|
|
} else {
|
|
} else {
|
|
- reqFunc.sendRequest(context, widget, controllerNote, controllerLocation, controllerReferenceNumber, controllerDateString, _currentSliderValue);
|
|
|
|
|
|
+ reqFunc.sendRequest(context, widget, controllerNote, controllerReferenceNumber, controllerLocation, controllerDateString, _currentSliderValue);
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
showError(context, 'lengthMax'.tr());
|
|
showError(context, 'lengthMax'.tr());
|