Rudie Dirkx
Rudie Dirkx
@kmbt The form you create in the GET request (to show in html) should be identical to the form you create in the POST request (to validate). If it is,...
Works fine for me. All field types use the same label mechanism (`FormField::setupLabel()`), so every field type should work. Debug `setupLabel()` or `FormHelper::formatLabel()` to find out why it's not working.
Or do you mean the `` labels...? Those come from your db, not the translator.
Right, that's the `` (if not multiple) I was talking about. That's not translated. You have to do that manually by making the entity option `property` a callback, which returns...
Do you mean "set the prototype name manually" in JS, when adding the dynamic field? What happens if you add 3 fields? They can't all get the same name. It...
What happens if you add 3 fields with JS? You use the same name 3 times. That doesn't work. That's why it has to be JS that sets the name,...
Yes, that's what I mean. Without a `__NAME__` placeholder, JS will add the same names 3 times, right? So JS has to do the replacement, not PHP.
Why don't you just manually set the `prototype_name` option to whatever your field name is? It's always a few lines above, right? Never in a separate file or function?
That's a good point. And it takes a response, which we need, and it's handled well. It's not a bug, but definitely an improvement. You want to make a PR?...