Skip to content

Ajax callbacks on Next.Js EntityType settings form don't work. #845

Open
@Mschuddings

Description

@Mschuddings

Package containing the bug

next (Drupal module)

Describe the bug

I've set-up the "module" following the documenation. When trying to get "Draft mode" to work. It seemed it was unable to select a "site".

Image

The part next to red arrow didn't show due to an JS error.

This problem also occurs in "On-demand revalidation" with the "Path" option.

Expected behavior

The Site selector should be visible so that I am able to select a site.

Steps to reproduce:

  1. go to: /admin/config/services/next/entity-types/node.article/edit?destination=/admin/config/services/next/entity-types
  2. Click vertical tab "Draft-mode" select "Site selector" (for example)
  3. See that the "Next.js sites" element doesn't show up.

Additional context

/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions