Update livewire component for alert_on_response
This commit is contained in:
@@ -6,6 +6,8 @@ use Livewire\Component;
|
||||
|
||||
class CategoryEditForm extends Component
|
||||
{
|
||||
public bool $alertOnResponse;
|
||||
|
||||
public $defaultEulaText;
|
||||
|
||||
public $eulaText;
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
</div>
|
||||
|
||||
<livewire:category-edit-form
|
||||
:alert-on-response="(bool) old('alert_on_response', $item->alert_on_response)"
|
||||
:default-eula-text="$snipeSettings->default_eula_text"
|
||||
:eula-text="old('eula_text', $item->eula_text)"
|
||||
:require-acceptance="(bool) old('require_acceptance', $item->require_acceptance)"
|
||||
|
||||
@@ -71,7 +71,8 @@
|
||||
<input
|
||||
type="checkbox"
|
||||
name="alert_on_response"
|
||||
@checked(false)
|
||||
value="1"
|
||||
wire:model.blur="alertOnResponse"
|
||||
/>
|
||||
Send email to you when user accepts or declines checkout.
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user