ngx-inline-editor icon indicating copy to clipboard operation
ngx-inline-editor copied to clipboard

Icon not show when using font-awesome 4

Open huynhlbq opened this issue 7 years ago • 1 comments

Dear,

I saw the missing fa-remove icon in font-awesome version 4, this has been rename to fa-times. Please update this to support new fa version.

huynhlbq avatar Sep 20 '18 04:09 huynhlbq

A silly but useful for my case workaround was to put $('.fa-remove').removeClass('fa-remove').addClass('fa-times'); on the (click) event of the dom element inline-editor

inline-editor(type="number", [(ngModel)]="price", (onSave)="savePrice($event)", name="editablePrice", size="8", (click)="clickedEditable()")

  clickedEditable() {
    $('.fa-remove').removeClass('fa-remove').addClass('fa-times');
  }

fott1 avatar Oct 22 '18 20:10 fott1