You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(content): update edit headline page to use reactive dropdown
Refactored the `edit_headline_page.dart` to use the new BLoC-aware `SearchableDropdownFormField` for country selection.
- Replaced the old dropdown implementation with the new generic `SearchableDropdownFormField<Country, EditHeadlineBloc, EditHeadlineState>`.
- Injected the `EditHeadlineBloc` instance into the widget.
- Provided extractor functions (`itemsExtractor`, `hasMoreExtractor`, `isLoadingExtractor`) to enable the dropdown to reactively pull data from the BLoC's state.
This change ensures that the country list in the search dialog updates automatically when more items are loaded via pagination, fixing the core UI refresh bug.
0 commit comments