Skip to content

duplicate till 5 more event click when calling a function inside directive looping blade (@for(), @foreach(), @forelse()) #1286

@muh-hizbe

Description

@muh-hizbe

I use @click="editFaqs()" or x-on:click="editFaqs".
my js function

function handleFaqs() {
  return {
    editFaqs() {
      log('test');
    }
  }
}

it's showing test in 5 more

But, if I use x-for="" alpine for looping data it's working normally.

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