Live method is calling mine action

Hi everyone i have a case where when i change the value of the component that is live mine action is called like i press the button, how i can stop that. Mine form
Solution:
Solve it but with work around ``` @if (static::$isRender) <div wire:ignore> @if ($this->displayTable) <h1>{{ $this->outputText }}</h1> {{ $this->table }}...
Jump to solution
3 Replies
mile4841
mile48413d ago
mine blade view
<x-filament-panels::page>
<x-filament-panels::form wire:submit="save">
{{ $this->form }}
<x-filament-panels::form.actions :actions="$this->getFormActions()" />
@if ($this->displayTable)
<h1>{{ $this->outputText }}</h1>
{{ $this->table }}
@endif
</x-filament-panels::form >
</x-filament-panels::page>
<x-filament-panels::page>
<x-filament-panels::form wire:submit="save">
{{ $this->form }}
<x-filament-panels::form.actions :actions="$this->getFormActions()" />
@if ($this->displayTable)
<h1>{{ $this->outputText }}</h1>
{{ $this->table }}
@endif
</x-filament-panels::form >
</x-filament-panels::page>
Solution
mile4841
mile48413d ago
Solve it but with work around
@if (static::$isRender)
<div wire:ignore>
@if ($this->displayTable)
<h1>{{ $this->outputText }}</h1>
{{ $this->table }}
@endif
</div>
@else
<div>
@if ($this->displayTable)
<h1>{{ $this->outputText }}</h1>
{{ $this->table }}
@endif
</div>
@endif
@if (static::$isRender)
<div wire:ignore>
@if ($this->displayTable)
<h1>{{ $this->outputText }}</h1>
{{ $this->table }}
@endif
</div>
@else
<div>
@if ($this->displayTable)
<h1>{{ $this->outputText }}</h1>
{{ $this->table }}
@endif
</div>
@endif
Want results from more Discord servers?
Add your server