You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
I've tried to hide the selected file previews since I'm only interested in directly showing the compressed image result. However, the previews are always visible. I think the issue lies in the code for file ng2-file-input.component.ts, line 52:
Since this is an OR comparison, if the default option is true, then no matter which is the input's value for [show-previews], the expression will always result true.
So far I've managed to hide it by overriding its CSS class:
.ng2-file-input-files {
display: none;
}
The text was updated successfully, but these errors were encountered:
I've tried to hide the selected file previews since I'm only interested in directly showing the compressed image result. However, the previews are always visible. I think the issue lies in the code for file
ng2-file-input.component.ts
, line 52:this.showPreviews = this.showPreviews || this.defaultOptions.showPreviews;
Since this is an OR comparison, if the default option is
true
, then no matter which is the input's value for[show-previews]
, the expression will always resulttrue
.So far I've managed to hide it by overriding its CSS class:
The text was updated successfully, but these errors were encountered: