Hi,
I tried the same=> disable an input but during runtime.
I change in the html the autoopen to false
<jqxWindow #tenantsDialogRef [autoOpen]=false [theme]="'material'" [resizable]="false" [width]="450" [height]="550">
<div #windowHeader>Add new tenant</div>
<div style="overflow: hidden;" #windowContent>
<jqxForm #fillTenantDataForm
[width]='450'
[height]="'auto'"
[template]='template'>
</jqxForm>
</div>
</jqxWindow>
and I open this window after a button press
private addNewTenant() {
console.log(<code>TenantsComponent.addNewTenant(..) called</code>);
let input = this.fillTenantDataForm.getComponentByName('firstname');
input.jqxInput({ disabled: true });
this.tenantsDialogRef.open()
}
If I use the code above, the field is still enbled.
If I change autoopen=true and the change the disable parameter in ngAfterViewInit(..) the field is disabled.
Any hint for me?
Regards
Jürgen