Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(dynamic-component): Remove None from Enum field values (#2798)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarifibrahim authored Nov 2, 2018
1 parent 9dba43d commit 8cc7af7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<!-- workitemtype field type: dropdown -->
<common-selector
*ngIf="fieldValue.field.type.kind==='enum'"
[noValueLabel]="'None'"
[allowUpdate]="editAllow"
[headerText]="fieldValue.field.label + ' dropdown'"
[items]="dropdownMenuItems"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ export class DynamicFieldComponent implements OnInit {

extractEnumKeyValues(possibleOptions: string[]): any[] {
return [
{key: null, value: 'None'},
...possibleOptions.map(v => {
return {
key: v,
Expand Down

0 comments on commit 8cc7af7

Please sign in to comment.