jaxio / celerio-angular-quickstart

Generate an Angular 5 CRUD application from an existing database schema (we provide a sample one)
Apache License 2.0
481 stars 138 forks source link

select list disabled if form is open inside a tab #65

Open DevRonin opened 6 years ago

DevRonin commented 6 years ago

Entities -> Author List -> Select Author -> Author db relations -> Books -> Add "Co Author" select box is disabled, form not working.

DevRonin commented 6 years ago

fixed changed pack-angular/celerio/pack-angular/web/src/app/entities/entity-detail.component.html.e.vm

<${relation.toEntity.model.var}-auto-complete [(ngModel)]="${entity.model.var}.${relation.to.var}" id="${relation.to.var}" name="${relation.to.var}" [disabled]="sub"></${relation.toEntity.model.var}-auto-complete>

to

<${relation.toEntity.model.var}-auto-complete [(ngModel)]="${entity.model.var}.${relation.to.var}" id="${relation.to.var}" name="${relation.to.var}" [disabled]="false"></${relation.toEntity.model.var}-auto-complete>