mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
fix(#146): add validation to multi_string recipe configuration field
Some checks are pending
tests / ci (push) Waiting to run
Some checks are pending
tests / ci (push) Waiting to run
This commit is contained in:
parent
3def60ae3e
commit
6d02415b7d
1 changed files with 2 additions and 0 deletions
|
|
@ -976,6 +976,8 @@ HTML;
|
||||||
wire:model.defer="multiValues.{{ $fieldKey }}.{{ $index }}"
|
wire:model.defer="multiValues.{{ $fieldKey }}.{{ $index }}"
|
||||||
:placeholder="$field['placeholder'] ?? 'Value...'"
|
:placeholder="$field['placeholder'] ?? 'Value...'"
|
||||||
class="flex-1"
|
class="flex-1"
|
||||||
|
pattern="[^,]*"
|
||||||
|
title="Commas are not allowed in this field"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@if(count($multiValues[$fieldKey]) > 1)
|
@if(count($multiValues[$fieldKey]) > 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue