Support capture for Binary

On IRC Isidro asked to be able to take picture as attachment from mobile.
I think we could add a capture attribute and accept on the binary widget (as attribute of <field/>) which will only be supported by the web client (and accept could be supported by Gtk.FileFilter).
And also the attachment drop down could have more entry like “Add picture” (or “Add video”) for the web client.

1 Like

Some devices already allow you to capture a picture without the specific capture attribute but yes, I think that would be a great addition.

Also directly capture QR or bar code could be interesting.


For Barcode and QR Code, it will be better to implement Support Barcode and QR code scanners then using a binary field (for text).