NASER add taskززطزSQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION montask.ST_SetSRID does not exist (Connection: mysql, SQL: update ttendances set ip_exit = 51.684726144224, distance_exit = 850, exited_at = 2026-04-23 13:59:46, exit_location = ST_SetSRID(ST_Point(51.684726144224, 32.652053279154), 4326), duration = 04:59:46, ttendances.updated_at = 2026-04-23 13:59:46 where id = 937)
This commit is contained in:
Notes:
mobinesaghi
2026-04-23 14:42:21 +03:30
NASER add task functions undepended
@@ -0,0 +1,41 @@
|
||||
@props(['id', 'name' => null, 'value' => ''])
|
||||
|
||||
<div
|
||||
{{ $attributes->whereDoesntStartWith('wire:') }}
|
||||
@if ($attributes->has('wire:model'))
|
||||
x-data="{ content: $wire.entangle('{{ $attributes->wire('model')->value() }}') }"
|
||||
x-on:trix-initialize="$refs.input.value = content"
|
||||
x-on:trix-change="content = $refs.input.value"
|
||||
@endif
|
||||
>
|
||||
<input
|
||||
type="hidden"
|
||||
@if ($name ?? false)
|
||||
name="{{ $name }}"
|
||||
@endif
|
||||
id="{{ $id }}_input"
|
||||
value="{{ $value }}"
|
||||
@if ($attributes->has('wire:model'))
|
||||
x-on:change="$refs.input.value = $event.target.value"
|
||||
{{ $attributes->whereStartsWith('wire:') }}
|
||||
@endif
|
||||
/>
|
||||
|
||||
<trix-toolbar
|
||||
id="{{ $id }}_toolbar"
|
||||
@if ($attributes->has('wire:model'))
|
||||
wire:ignore
|
||||
@endif
|
||||
></trix-toolbar>
|
||||
|
||||
<trix-editor
|
||||
id="{{ $id }}"
|
||||
toolbar="{{ $id }}_toolbar"
|
||||
input="{{ $id }}_input"
|
||||
class="trix-content"
|
||||
@if ($attributes->has('wire:model'))
|
||||
x-ref="input"
|
||||
wire:ignore
|
||||
@endif
|
||||
></trix-editor>
|
||||
</div>
|
||||
Reference in New Issue
Block a user