Hi Team
Having problem with file type question in mobile.
In ios on click Choose file button, camera option is enabled. we can upload image by capturing image
in android this option is not coming.
Regards,
BhanuPrakash
Hi Team
Having problem with file type question in mobile.
In ios on click Choose file button, camera option is enabled. we can upload image by capturing image
in android this option is not coming.
Regards,
BhanuPrakash
Hello,
Unfortunately, we do not do here anything. We are rendering the standard <input type="file"/>
. It depends on the browser and OS. It is very likely that in some Android version it works.
We can take a look, but I doubt that we will be able to do anything here.
Thank you,
Andrew
SurveyJS Team
Hi Team,
Is there any way we can restrict camera option in ios on click choose file button. so that it will be consistent with android.
Regards,
BhanuPrakash
Hello,
You can modify question markup (and the used HTML input tag) in the https://surveyjs.io/Documentation/Library?id=surveymodel#onAfterRenderQuestion event handler.
But quick search over the StackOverflow shows that it will be not so easy -
https://stackoverflow.com/questions/44678685/html-input-file-on-ios-app-disable-take-photo-option
https://stackoverflow.com/questions/16819845/how-to-disable-take-photo-on-file-input-ios-6
If this will not work, then I'm afraid we can't do anything here.
Thanks, Serge
SurveyJS Team