Question step: Fix validateion for required photo

This commit is contained in:
Raphael Michel
2023-02-14 13:54:20 +01:00
parent 9b60dde718
commit 1399f97e1e

View File

@@ -83,6 +83,7 @@ function questions_init_photos(el) {
var $inp = $(this)
var $container = $inp.parent().parent()
$inp.prop("required", false)
$container.find(".photo-input").addClass("hidden")
$container.find(".photo-buttons").removeClass("hidden")