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 and Boolean field values
Browse files Browse the repository at this point in the history
  • Loading branch information
jarifibrahim committed Nov 1, 2018
1 parent 9dba43d commit 90aef3b
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 90aef3b

Please sign in to comment.