- Issue created by @hershel
- Status changed to Postponed: needs info
10 months ago 7:57pm 10 January 2024 - π§πͺBelgium matthijs
I cannot reproduce this on PHP 8.1.26, but I think this might happen if the default value is applied. So i'm wondering:
- Is the element actually rendered?
- Is it fixed if you change the #default_value in \Drupal\signaturefield\Element\Signature::getInfo() to an empty string?
-
Matthijs β
committed f25ddd43 on 1.x
Issue #3413729: Update validation callback to ignore value NULL
-
Matthijs β
committed f25ddd43 on 1.x
- π§πͺBelgium matthijs
I did a small change, can you check if the latest dev version fixes your issue?
- πΊπΈUnited States hershel
I will test tomorrow. But might be simpler to just use:
if (!$element['#value']) {
- π§πͺBelgium matthijs
I prefer not to do that because in that case a value of "000000" will be considered empty as well.
- Status changed to Fixed
10 months ago 1:18pm 11 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.