Skip to content

datatable formwidget within a translatable repeater clears values on locale switch #33

Description

@der-On

If there is a datatable formwidget within a mlrepeater it does not send it's values over POST when switching locale.

The reason is that the table widget listens to a postback handler with the name onSave by default and only attaches the table values to the request if this ajax handler is used.

The solution is to temporary set the handler to the onSwitchItemLocale when the locale is beeing changed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions