We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fce793 commit 6f1144dCopy full SHA for 6f1144d
packages/angular/cli/models/schematic-command.ts
@@ -6,6 +6,7 @@
6
* found in the LICENSE file at https://angular.io/license
7
*/
8
import {
9
+ JsonObject,
10
experimental,
11
json,
12
logging,
@@ -309,7 +310,8 @@ export abstract class SchematicCommand<
309
310
question.type = 'confirm';
311
break;
312
case 'list':
- question.type = 'list';
313
+ const multiselect = !!definition.raw && (definition.raw as JsonObject)['multiselect'];
314
+ question.type = !!multiselect ? 'checkbox' : 'list';
315
question.choices = definition.items && definition.items.map(item => {
316
if (typeof item == 'string') {
317
return item;
0 commit comments