File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/ionic/src/controls/enum Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { JsonFormsControl } from '@jsonforms/angular';
88 template : `
99 <ion-item>
1010 <ion-label>{{label}}</ion-label>
11- <ion-label stacked *ngIf="error" color="errora ">{{error}}</ion-label>
11+ <ion-label stacked *ngIf="error" color="error ">{{error}}</ion-label>
1212 <ion-select [ngModel]="data" (ionChange)="onChange($event)">
1313 <ion-option *ngFor="let option of options" value="{{option}}">
1414 {{option}}
@@ -28,6 +28,8 @@ export class EnumControlRenderer extends JsonFormsControl {
2828 mapAdditionalProps ( ) {
2929 this . options = this . scopedSchema . enum ;
3030 }
31+
32+ getEventValue = ( ev : any ) => ev ;
3133}
3234
3335export const enumControlTester : RankedTester = rankWith (
You can’t perform that action at this time.
0 commit comments