-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[6.1] Subform: add order-changed event #46093
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
Conversation
|
I will rebase to 6.1 when it will be in sync |
|
I have tested this item ✅ successfully on 08a3f52 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46093. |
|
@Fedik We are sorry, couldn't test it. We applied PR and run |
Need to move the subform rows from the example 😉 |
|
I have tested this item ✅ successfully on 474b6b7
|
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46093. |
|
@Fedik thanks, could you please create/update documentation in the manual for it? |
|
There it is: |
Pull Request for Issue #45994 .
Summary of Changes
Add
subform-order-changedevent when order is changed in subform.Testing Instructions
Apply patch.
Run
npm install.Add subform somewhere, example in Custom HTML module parameters:
Add in to index.php of Atum template:
Open the form with sbform, open browser console.
Try sort the rows in subform, and check console output.
Actual result BEFORE applying this Pull Request
Console is silent
Expected result AFTER applying this Pull Request
In console a message like "fromPosition: 0, toPosition: 1"
Link to documentations
Please select: