N°3750 Fix data-input-type modification not visible in the DOM

This commit is contained in:
Pierre Goiffon
2021-03-04 15:52:48 +01:00
parent 5748ea3a74
commit 675dcda86d

View File

@@ -2448,6 +2448,8 @@ JS
if (utils::IsXmlHttpRequest()) {
$sHTMLValue .= <<<HTML
<script>
//TODO 3.0.0 should we keep both ?
$("[data-input-id='$iId']").attr("data-input-type", "$sInputType");
$("[data-input-id='$iId']").data("input-type", "$sInputType");
</script>
HTML;