Explorar o código

Removed capture attribute.

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
9ba140b461
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      engine/form.php

+ 1 - 1
engine/form.php

@@ -185,7 +185,7 @@ class Form {
 		<div class="row mb-1">
 			<label class="col-sm-4 col-form-label" for="<?=$id?>"><?=htmlspecialchars($options->label)?></label>
 			<div class="col-sm">
-				<input class="form-control-file" type="file" name="<?=$options->name?>" id="<?=$id?>" accept="image/*" capture="camera" <?=$required?> />
+				<input class="form-control-file" type="file" name="<?=$options->name?>" id="<?=$id?>" accept="image/*" <?=$required?> />
 				<?php
 				if($help_text) {
 					?>