0

As you can see, when user open the form, he got an image null until he captures an image with the camera. How to hide default NULL icons? Report form with ionic camera native

Pero Peric
  • 105
  • 2
  • 9
  • Possible duplicate of [jQuery/JavaScript to replace broken images](https://stackoverflow.com/questions/92720/jquery-javascript-to-replace-broken-images) – Tomas Vancoillie Sep 24 '19 at 06:40

1 Answers1

1

Try this,

<img [src]="imgSrc" id="imgPlacement" ngShow="imgSrc !== undefined">
Dixit Savaliya
  • 413
  • 3
  • 7