Merge pull request #11 from Cyanose/feature/submit-entry-upon-selecting-product-from-list
submit entry upon clicking on product from list
This commit is contained in:
commit
a0aeae8504
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ class _AddEntryScreen extends State<AddEntryScreen> {
|
||||||
products = [product];
|
products = [product];
|
||||||
productNameController.text = product.name;
|
productNameController.text = product.name;
|
||||||
});
|
});
|
||||||
|
_addEntry();
|
||||||
},
|
},
|
||||||
title: ProductWidget(
|
title: ProductWidget(
|
||||||
product: product,
|
product: product,
|
||||||
|
|
Loading…
Reference in a new issue