This commit is contained in:
Hillel Coren 2019-10-04 09:03:59 +03:00
parent 541dfa2f2a
commit 8f7b504330
2 changed files with 3 additions and 1 deletions

View File

@ -142,12 +142,14 @@ class _EntityDropdownDialogState extends State<EntityDropdownDialog> {
),
Expanded(
child: TextField(
/*
onSubmitted: (value) {
final entityId = widget.entityList.firstWhere((entityId) =>
widget.entityMap[entityId].matchesFilter(_filter));
final entity = widget.entityMap[entityId];
_selectEntity(entity);
},
*/
onChanged: (value) {
setState(() {
_filter = value;

View File

@ -66,7 +66,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
'email_login': 'Email Login',
'create_new': 'Create New',
'no_record_selected': 'No record selected',
'error_unsaved_changes': 'Please save or cancel your changes',
'error_unsaved_changes': 'Please cancel or save your changes',
'download': 'Download',
'requires_an_enterprise_plan': 'Requires an enterprise plan',
'take_picture': 'Take Picture',