Skip to content

Commit

Permalink
Fixed issue krayin#1846
Browse files Browse the repository at this point in the history
  • Loading branch information
shivendra-webkul committed Dec 23, 2024
1 parent 6ef53c7 commit 1bc7d7b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class="{{ $validations }}"
:id="$fieldName"
:rules="$validations"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
/>

<x-web_form::form.control-group.error :control-name="$fieldName" />
Expand All @@ -37,6 +38,7 @@ class="{{ $validations }}"
:id="$fieldName"
:rules="$validations.'|numeric'"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
/>

<x-web_form::form.control-group.error :control-name="$fieldName" />
Expand All @@ -50,6 +52,7 @@ class="{{ $validations }}"
id="{{ $fieldName }}[0][value]"
rules="{{ $validations }}|email"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
/>

<x-web_form::form.control-group.control
Expand Down Expand Up @@ -97,6 +100,7 @@ class="cursor-pointer text-xs font-medium text-gray-600 dark:text-gray-300"
:name="$fieldName"
:id="$fieldName"
:rules="$validations"
:placeholder="$attribute->placeholder"
:label="$parentAttribute->name"
/>

Expand All @@ -111,6 +115,7 @@ class="cursor-pointer text-xs font-medium text-gray-600 dark:text-gray-300"
id="{{ $fieldName }}[0][value]"
rules="{{ $validations }}|numeric"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
/>

<x-web_form::form.control-group.control
Expand All @@ -132,6 +137,7 @@ class="cursor-pointer text-xs font-medium text-gray-600 dark:text-gray-300"
:id="$fieldName"
:rules="$validations"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
/>

<x-web_form::form.control-group.error :control-name="$fieldName" />
Expand All @@ -145,6 +151,7 @@ class="cursor-pointer text-xs font-medium text-gray-600 dark:text-gray-300"
:id="$fieldName"
:rules="$validations"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
/>

<x-web_form::form.control-group.error :control-name="$fieldName" />
Expand All @@ -165,6 +172,7 @@ class="cursor-pointer text-xs font-medium text-gray-600 dark:text-gray-300"
:id="$fieldName"
:rules="$validations"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
>
@foreach ($options as $option)
<option value="{{ $option->id }}">{{ $option->name }}</option>
Expand All @@ -188,6 +196,7 @@ class="cursor-pointer text-xs font-medium text-gray-600 dark:text-gray-300"
name="{{ $fieldName }}[]"
:rules="$validations"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
>
@foreach ($options as $option)
<option value="{{ $option->id }}">{{ $option->name }}</option>
Expand Down Expand Up @@ -234,6 +243,7 @@ class="error-message mt-1 text-xs italic text-red-600"
:id="$fieldName"
:rules="$validations"
:label="$parentAttribute->name"
:placeholder="$attribute->placeholder"
>
<option value="1">Yes</option>
<option value="0">No</option>
Expand Down

0 comments on commit 1bc7d7b

Please sign in to comment.