diff --git a/resources/views/partials/form/multi_select_add_new_group.blade.php b/resources/views/partials/form/multi_select_add_new_group.blade.php index a19c1599f..efb9d5af2 100644 --- a/resources/views/partials/form/multi_select_add_new_group.blade.php +++ b/resources/views/partials/form/multi_select_add_new_group.blade.php @@ -19,6 +19,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) :value="{{ json_encode(old($name, $selected)) }}" @endif diff --git a/resources/views/partials/form/multi_select_group.blade.php b/resources/views/partials/form/multi_select_group.blade.php index bbc7c9e46..ce33f842e 100644 --- a/resources/views/partials/form/multi_select_group.blade.php +++ b/resources/views/partials/form/multi_select_group.blade.php @@ -19,6 +19,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) :value="{{ json_encode(old($name, $selected)) }}" @endif diff --git a/resources/views/partials/form/multi_select_remote_add_new_group.blade.php b/resources/views/partials/form/multi_select_remote_add_new_group.blade.php index 8f6e25580..9a7d06084 100644 --- a/resources/views/partials/form/multi_select_remote_add_new_group.blade.php +++ b/resources/views/partials/form/multi_select_remote_add_new_group.blade.php @@ -21,6 +21,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (!empty($selected) || old($name)) :value="{{ json_encode(old($name, $selected)) }}" @endif diff --git a/resources/views/partials/form/multi_select_remote_group.blade.php b/resources/views/partials/form/multi_select_remote_group.blade.php index a462a4132..c7a81485f 100644 --- a/resources/views/partials/form/multi_select_remote_group.blade.php +++ b/resources/views/partials/form/multi_select_remote_group.blade.php @@ -21,6 +21,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (!empty($selected) || old($name)) :value="{{ json_encode(old($name, $selected)) }}" @endif diff --git a/resources/views/partials/form/select_add_new_group.blade.php b/resources/views/partials/form/select_add_new_group.blade.php index 4c0540c40..0ea7ea92f 100644 --- a/resources/views/partials/form/select_add_new_group.blade.php +++ b/resources/views/partials/form/select_add_new_group.blade.php @@ -19,6 +19,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) value="{{ old($name, $selected) }}" @endif diff --git a/resources/views/partials/form/select_group.blade.php b/resources/views/partials/form/select_group.blade.php index 3b96d963c..8b7f39340 100644 --- a/resources/views/partials/form/select_group.blade.php +++ b/resources/views/partials/form/select_group.blade.php @@ -19,6 +19,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) value="{{ old($name, $selected) }}" @endif diff --git a/resources/views/partials/form/select_group_add_new_group.blade.php b/resources/views/partials/form/select_group_add_new_group.blade.php index c16bba08b..8ca502b84 100644 --- a/resources/views/partials/form/select_group_add_new_group.blade.php +++ b/resources/views/partials/form/select_group_add_new_group.blade.php @@ -19,6 +19,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) value="{{ old($name, $selected) }}" @endif diff --git a/resources/views/partials/form/select_group_group.blade.php b/resources/views/partials/form/select_group_group.blade.php index b539e3c85..da7a7aca2 100644 --- a/resources/views/partials/form/select_group_group.blade.php +++ b/resources/views/partials/form/select_group_group.blade.php @@ -19,6 +19,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) value="{{ old($name, $selected) }}" @endif diff --git a/resources/views/partials/form/select_remote_add_new_group.blade.php b/resources/views/partials/form/select_remote_add_new_group.blade.php index 004efbfbf..ef58df6f7 100644 --- a/resources/views/partials/form/select_remote_add_new_group.blade.php +++ b/resources/views/partials/form/select_remote_add_new_group.blade.php @@ -21,6 +21,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) value="{{ old($name, $selected) }}" @endif diff --git a/resources/views/partials/form/select_remote_group.blade.php b/resources/views/partials/form/select_remote_group.blade.php index 358f28cac..8492f36b1 100644 --- a/resources/views/partials/form/select_remote_group.blade.php +++ b/resources/views/partials/form/select_remote_group.blade.php @@ -21,6 +21,10 @@ :disabled-options="{{ json_encode($attributes['disabledOptions']) }}" @endif + @if (isset($attributes['dynamicOptions'])) + :dynamic-options="{{ $attributes['dynamicOptions'] }}" + @endif + @if (isset($selected) || old($name)) value="{{ old($name, $selected) }}" @endif