Since the last update from php 7.3 to php 7.4, forced by my hosting provider, html issues are occurring in my forms. I am using Symfony 4 in combination with jQuery and Twig to render my html files and have them interact correctly. The issue that I described earlier is shown in the picture below.
Basically what happens is, whenever a template (html file) is rendered, the element 'name' and the 'id' don't have a space in between.
E.g. <divid="">
instead of <div id="">
and <textareaid="">
instead of <textarea id="">
The following file has this issue:
<div class="page-container">
<div class="main-content">
<div class="section__content section__content--p30">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ path('admin_page') }}">Admin</a></li>
<li class="breadcrumb-item"><a href="{{ path('index_factuur') }}">Invoices</a></li>
<li class="breadcrumb-item active">Make invoice</li>
</ol>
<div class="container-fluid">
<div class="wrapper">
<div class="container-fluid">
<div id="live_form">
{{ form_start(form) }}
{{ form_errors(form) }}
{{ form_end(form) }}
<br>
{% include('includes/SOMEFILE') %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Does anyone have any clue what the issue can be and how the rendered file contains form elements that are pasting id to the html element itself?