Capacitor use input type file to select between Camera and file browser

I’m trying to have the same behavior as in Google Chrome on Mobile,

When I have an input type=“file”, it opens a selector to choose between Camera and file Browser

I tried the following :

<input type="file" accept="image/*;capture=camera" /> and <input type="file" accept="image/*" />, they both directly open the file browser on capacitor but gives the ability to choose on chrome mobile

<input type="file" accept="image/*" capture="environment"/> opens directly the camera without the option to choose.

Anyway i can get the same behavior of Chrome on mobile ? I tried to check the standards but apparently accept=“image/*” should be enough

Thanks,