Skip to content
Snippets Groups Projects
Commit 1cdfa419 authored by jojohoch's avatar jojohoch
Browse files

Start the valid value range for DropDown at 1

parent 70d3348b
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ import { DropdownElement } from './dropdown-element';
[style.pointer-events]="elementModel.readOnly ? 'none' : 'unset'"
(click)="$event.preventDefault()">
</mat-option>
<mat-option *ngFor="let option of elementModel.options; let i = index" [value]="i"
<mat-option *ngFor="let option of elementModel.options; let i = index" [value]="i + 1"
[style.pointer-events]="elementModel.readOnly ? 'none' : 'unset'">
{{option}}
</mat-option>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment