-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[4.0] Subform field conflicts when merging to J4 #23279
Comments
Short version: once Joomla gets all the replacement components for the old Bootstrap ones this hack doesn't need to be forwarded to Joomla 4. Long version: this issue ( #19427 ) was created as a placeholder for the JS Working Group to move all. the fields into custom elements. TBH I didn't explained enough the reason behind this (people might think that this was dictated 🤷♂️) so here is a good spot to explain why moving most of the scripts to custom elements is the best option.
All 3 options here will work, from a future proof point of view Custom Elements seems the best bet! |
tracking |
Please use the tools on GitHub to follow a topic |
@wilsonge drop subform script from J3 and use only j4, the script was rewritten two year ago #19184 #17552 this was need only for j3, it already implemented in j4 This should work without modification: |
I just noticed the issue from Dec 2018 😁 |
OK if this should be working then what issues are you having @N6REJ |
@wilsonge the tab shows blank when subform is used. |
This something with If you remove |
@Fedik that would mean half of the purpose of subforms would be lost. |
can you please open an issue for your problem with detail description and subform example? |
OK Closing this as apparently none of these issues need porting |
List of PRs
#20222
#12996
Due to large merge conflicts I have skipped merging the PRs above (I just kept the current version). Basically we only set options now in JHtml bootstrap and these belong somewhere in the bootstrap init javascript file. I'm unclear exactly what the best way to 'retrigger' them are is. It's tempting to just reinitialise everything to be consistent (i.e. make the current callback in bootstrap init a named function that can also be called in the
subform-row-add
callback, but that could be a large performance drain. So I'm sitting on it for now and going to see if either @dgrammatiko has any great ideas, or indeed anything comes up on the tracker related to this. But this issue tracks that this was done somewhat knowingly and should be re-evaluated at a good timeSubforms Refactor (NEW)
These had too many conflicts with the new repeatable form field layouts in j4. They definitely need porting
#17552
#22444
#23190
The text was updated successfully, but these errors were encountered: