action prep, activity association removal, activity ui tweaks

This commit is contained in:
Joshua Burman
2025-01-06 10:10:08 -05:00
parent 7ead6ba631
commit ebca90e69a
7 changed files with 278 additions and 153 deletions

View File

@ -57,8 +57,7 @@ class _FormSearchInputState extends State<FormSearchInput> {
_currentQuery = query;
// In a real application, there should be some error handling here.
// final Iterable<String> options = await _FakeAPI.search(_currentQuery!);
if (query.isNotEmpty) {
if (query.isNotEmpty && query.length > 3) {
final List<Suggestion>? suggestions =
await service.fetchSuggestions(_currentQuery!);