Skip to content
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

be_table IDs fehlerhaft #1531

Open
godsdog opened this issue Sep 26, 2024 · 0 comments
Open

be_table IDs fehlerhaft #1531

godsdog opened this issue Sep 26, 2024 · 0 comments

Comments

@godsdog
Copy link
Contributor

godsdog commented Sep 26, 2024

be_table generiert die IDs z.B. wie folgt:
yform-FORM[data_edit-rex_referenzen][23]][23]-field-0 Ein ] zuviel.

Die ID des DIVs sieht auch wüst aus:
<div class="form-group" id="yform-FORM[data_edit-rex_referenzen][23]][23]-FORM[data_edit-rex_referenzen][23]][23]">

In der value.be_table.tpl.php und be_table.php steht:
$field->params['this']->setObjectparams('form_name', $this->getParam('form_name') . '][' . $this->getId() . '][' . $data_index);

Müsste meine ich so lauten:

$field->params['this']->setObjectparams('form_name', $this->getParam('form_name') . '[' . $this->getId() . '][' . $data_index . ']');

Das alleine reicht aber nocht nicht, nach der Anpassungen werden keine Daten mehr gespeichert...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant