This commit is contained in:
@@ -65,10 +65,19 @@
|
||||
>
|
||||
Prettify
|
||||
</span>
|
||||
@elseif ($meta['type'] === 'textarea')
|
||||
<textarea
|
||||
wire:model.live="config.{{ $field }}"
|
||||
class="border rounded w-full"
|
||||
name="config[{{ $field }}]"
|
||||
rows="4"
|
||||
>
|
||||
{{ old("config.$field", $bot->config[$field] ?? '') }}
|
||||
</textarea>
|
||||
@else
|
||||
<input
|
||||
wire:model.live="config.{{ $field }}"
|
||||
class="border p-2 rounded mb-2 w-full"
|
||||
class="border p-2 rounded w-full"
|
||||
type="text"
|
||||
name="config[{{ $field }}]"
|
||||
value="{{ old("config.$field", $bot->config[$field] ?? '') }}"
|
||||
|
||||
Reference in New Issue
Block a user