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

patches table widget to send values on locale switch #34

Closed
wants to merge 1 commit into from

Conversation

der-On
Copy link
Contributor

@der-On der-On commented May 13, 2022

This will allow datatable formwidgets within an mlrepeater or mlnestedform to send it's data via POST on a locale switch.

It patches the onFormSubmit function of the Table Widget and temporary sets the postback handler to the onSwitchItemLocale handler beeing executed.

closes #33

@LukeTowers
Copy link
Member

Closing in favour of a fix to the widget in the core, see #33 (comment)

@LukeTowers LukeTowers closed this May 14, 2022
@der-On der-On deleted the nested-datatable branch February 6, 2023 15:31
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

Successfully merging this pull request may close these issues.

datatable formwidget within a translatable repeater clears values on locale switch
2 participants