This field only allow file extension as jpg or bmp only.
{{userinfoForm.controls?.profilePicture?.errors?.extension.message}}