Skip to content

HasMany with ML Richeditor #103

@AIC-BV

Description

@AIC-BV

Hello

I have discovered a bug which breaks a hasMany relation if it has a ML richeditor field within.

I have a Product model with hasMany Variant:
Image

When clicking on a Variant and pressing either save or cancel, I get the following JS error:

- mlricheditor.js:74 Uncaught TypeError: this.editor.events.off is not a function
Image

Nothing in the Variant form is clickable anymore, not even after closing/opening, making it impossible to update more than one variant without refreshing the page in between.

When commenting the richeditor field; everything works as expected.

description:
    tab: aic.webshop::lang.product.description
    label: aic.webshop::lang.product.description
    type: richeditor
    size: small
    span: full

Or, when removing the property from the translatable array; everything works as expected.

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