Aging report

This commit is contained in:
Hillel Coren 2020-03-15 21:03:37 +02:00
parent 69da36731d
commit 7934be233e
1 changed files with 4 additions and 2 deletions

View File

@ -788,10 +788,12 @@ class ReportResult {
value: (textEditingControllers[column].text ?? '') value: (textEditingControllers[column].text ?? '')
.isNotEmpty && .isNotEmpty &&
textEditingControllers[column].text != 'null' textEditingControllers[column].text != 'null'
? localization.lookup(textEditingControllers[column].text) ? textEditingControllers[column].text
: null, : null,
showBlank: true,
onChanged: (dynamic value) { onChanged: (dynamic value) {
print('## onChanged: $value'); textEditingControllers[column].text = value;
onFilterChanged(column, value);
}, },
items: kAgeGroups.keys.map((ageGroup) => items: kAgeGroups.keys.map((ageGroup) =>
DropdownMenuItem( DropdownMenuItem(