Skip to content

[Form][WebProfiler] Fixed issue#10054 : cannot report form data when "allow_add" is true in a field #12889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,13 @@

{% macro form_tree_entry(name, data, expanded) %}
<li>
<div class="tree-inner" data-tab-target-id="{{ data.id }}-details">
<div class="tree-inner" {% if data.id is defined %}data-tab-target-id="{{ data.id }}-details"{% endif %}>
{% if data.children is not empty %}
<a class="toggle-button" data-toggle-target-id="{{ data.id }}-children" href="#"><span class="toggle-icon"></span></a>
{% else %}
<div class="toggle-icon empty"></div>
{% endif %}
{{ name|default('(no name)') }} {% if data.type is not empty %}[<abbr title="{{ data.type_class }}">{{ data.type }}</abbr>]{% endif %}
{{ name|default('(no name)') }} {% if data.type is defined and data.type is not empty %}[<abbr title="{{ data.type_class }}">{{ data.type }}</abbr>]{% endif %}
{% if data.errors is defined and data.errors|length > 0 %}
<div class="badge-error">{{ data.errors|length }}</div>
{% endif %}
Expand Down Expand Up @@ -542,13 +542,13 @@

{% if data.submitted_data is defined %}
<h3>
<a class="toggle-button" data-toggle-target-id="{{ data.id }}-submitted_data" href="#">
<a class="toggle-button"{% if data.id is defined %} data-toggle-target-id="{{ data.id }}-submitted_data"{% endif %} href="#">
Submitted Data
<span class="toggle-icon"></span>
</a>
</h3>

<div id="{{ data.id }}-submitted_data">
<div{% if data.id is defined %} id="{{ data.id }}-submitted_data"{% endif %}>
{% if data.submitted_data.norm is defined %}
<table>
<tr>
Expand Down