mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): name is required when generating the drag-drop schematic (#13452)
* Similar to the other component generation schematics in `@angular/material`, the drag-drop schematic in `@angular/cdk` requires a name to be specified. If we don't mark this as required, a runtime exception will be thrown (`Cannot read property 'replace' of undefined`)
This commit is contained in:
committed by
vivian-hu
parent
da63c6f850
commit
4a9bbcb60d
@@ -93,5 +93,5 @@
|
||||
"description": "Specifies if the component is an entry component of declaring module."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
"required": ["name"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user