Back to Bootstrap 5 Page Builder Support

LadyLain
LadyLain

Hello Vladimir,

Thanks for this new version, I'm trying to use the ML builder inside a repeater field but it does not save the ML builder content. Is there a solution or a setting to do to make this work ?

thanks L.

Vladimir
Vladimir

Hi!
For multilingualism in the repeater, you do not need to use ML Builder.
You need to make the repeater itself translatable.

use Model;

/**
 * Model
 */
class Testppoetestppp extends Model
{
    use \October\Rain\Database\Traits\Validation;

    public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel'];

    public $translatable = ['myrepeater'];

    protected $jsonable = ['myrepeater'];

    ...
}

LadyLain
LadyLain

Thanks for your answer, it's perfect :)

1-3 of 3