mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-14 00:18:55 +03:30
Fix code error in select test result
This commit is contained in:
@@ -242,12 +242,16 @@ class _TestResultAddScreenState extends State<TestResultAddScreen> {
|
|||||||
fontSize: 5 * _deviceBlockSize,
|
fontSize: 5 * _deviceBlockSize,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () async {
|
||||||
|
print(
|
||||||
|
"testCodeCTRL.text : ${testCodeCTRL.text}");
|
||||||
|
print(
|
||||||
|
"testTypeCTRL.text : ${testTypeCTRL.text}");
|
||||||
if (testCodeCTRL.text != '') {
|
if (testCodeCTRL.text != '') {
|
||||||
Provider.of<TestResultsProvider>(
|
Provider.of<TestResultsProvider>(
|
||||||
context,
|
context,
|
||||||
listen: false,
|
listen: false,
|
||||||
).testCode = testCodeCTRL.text;
|
).testTypeId = testCodeCTRL.text;
|
||||||
Navigator.pushNamed(
|
Navigator.pushNamed(
|
||||||
context,
|
context,
|
||||||
Routes.formTestResultScreen,
|
Routes.formTestResultScreen,
|
||||||
|
|||||||
Reference in New Issue
Block a user