Skip to content

RainLab.Translate events not firing on subsequent Livewire requests #6

Description

@zoker68

Description:
When using rainlab/livewire-plugin with rainlab/translate-plugin on October CMS 4:

  • On the first page load, translated attributes work as expected.
  • After interacting with the Livewire component (e.g. clicking a pagination link), the component reloads but model.beforeGetAttribute from Translate is not triggered anymore, so translated values are not returned.

Using:

  • October CMS 4
  • Livewire 3.6.3
  • PHP 8.4
  • rainlab/livewire-plugin v1.2.2
  • rainlab/translate-plugin v2.2.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions