@@ -166,6 +166,9 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
166
166
decoration: InputDecoration (
167
167
labelText: l10n.language,
168
168
border: const OutlineInputBorder (),
169
+ helperText: state.languagesIsLoadingMore
170
+ ? l10n.loadingFullList
171
+ : null ,
169
172
),
170
173
items: [
171
174
DropdownMenuItem (value: null , child: Text (l10n.none)),
@@ -176,9 +179,11 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
176
179
),
177
180
),
178
181
],
179
- onChanged: (value) => context
180
- .read <CreateSourceBloc >()
181
- .add (CreateSourceLanguageChanged (value)),
182
+ onChanged: state.languagesIsLoadingMore
183
+ ? null
184
+ : (value) => context
185
+ .read <CreateSourceBloc >()
186
+ .add (CreateSourceLanguageChanged (value)),
182
187
),
183
188
const SizedBox (height: AppSpacing .lg),
184
189
DropdownButtonFormField <SourceType ?>(
@@ -206,6 +211,9 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
206
211
decoration: InputDecoration (
207
212
labelText: l10n.headquarters,
208
213
border: const OutlineInputBorder (),
214
+ helperText: state.countriesIsLoadingMore
215
+ ? l10n.loadingFullList
216
+ : null ,
209
217
),
210
218
items: [
211
219
DropdownMenuItem (value: null , child: Text (l10n.none)),
@@ -232,9 +240,11 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
232
240
),
233
241
),
234
242
],
235
- onChanged: (value) => context
236
- .read <CreateSourceBloc >()
237
- .add (CreateSourceHeadquartersChanged (value)),
243
+ onChanged: state.countriesIsLoadingMore
244
+ ? null
245
+ : (value) => context
246
+ .read <CreateSourceBloc >()
247
+ .add (CreateSourceHeadquartersChanged (value)),
238
248
),
239
249
const SizedBox (height: AppSpacing .lg),
240
250
DropdownButtonFormField <ContentStatus >(
0 commit comments