I want to make the link gray when the [disabled] = true
I've tried: .c-inline-editor.editable-disabled, .c-inline-editor.editable-empty:hover, .c-inline-editor.editable-empty:focus, .c-inline-editor.a.editable:disabled, .c-inline-editor.a.editable-disabled, .c-inline-editor.black, .c-inline-editor.a.black { font-style: italic; color: green; text-decoration: none; } but with no luck.
My code: <inline-editor type="text" [(ngModel)]="addressData.address" (onSave)="this.patch()" name="interface" size="20" [disabled]="addressData.protocol==='dhcp'"></inline-editor>
Any advice will help, thanks
I want to make the link gray when the [disabled] = true
I've tried:
.c-inline-editor.editable-disabled, .c-inline-editor.editable-empty:hover, .c-inline-editor.editable-empty:focus, .c-inline-editor.a.editable:disabled, .c-inline-editor.a.editable-disabled, .c-inline-editor.black, .c-inline-editor.a.black { font-style: italic; color: green; text-decoration: none; }but with no luck.My code:
<inline-editor type="text" [(ngModel)]="addressData.address" (onSave)="this.patch()" name="interface" size="20" [disabled]="addressData.protocol==='dhcp'"></inline-editor>Any advice will help, thanks