File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
lib/content_management/view Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,9 @@ class _EditHeadlineViewState extends State<_EditHeadlineView> {
287
287
decoration: InputDecoration (
288
288
labelText: l10n.countryName,
289
289
border: const OutlineInputBorder (),
290
+ helperText: state.countriesIsLoadingMore
291
+ ? l10n.loadingFullList
292
+ : null ,
290
293
),
291
294
items: [
292
295
DropdownMenuItem (value: null , child: Text (l10n.none)),
@@ -313,9 +316,11 @@ class _EditHeadlineViewState extends State<_EditHeadlineView> {
313
316
),
314
317
),
315
318
],
316
- onChanged: (value) => context
317
- .read <EditHeadlineBloc >()
318
- .add (EditHeadlineCountryChanged (value)),
319
+ onChanged: state.countriesIsLoadingMore
320
+ ? null
321
+ : (value) => context
322
+ .read <EditHeadlineBloc >()
323
+ .add (EditHeadlineCountryChanged (value)),
319
324
),
320
325
const SizedBox (height: AppSpacing .lg),
321
326
DropdownButtonFormField <ContentStatus >(
You can’t perform that action at this time.
0 commit comments