added option field view components
This commit is contained in:
parent
811076afcf
commit
ec3659ef5e
|
|
@ -6,6 +6,10 @@
|
|||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.accounts', 1) }}"
|
||||
:options="$accounts"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
:selected="$selected"
|
||||
:required="$required"
|
||||
change="onChangeAccount"
|
||||
|
|
@ -30,6 +34,10 @@
|
|||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.accounts', 1) }}"
|
||||
:options="$accounts"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
:selected="$selected"
|
||||
:required="$required"
|
||||
change="onChangeAccount"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -38,6 +42,10 @@
|
|||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -65,6 +73,10 @@
|
|||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -89,6 +101,10 @@
|
|||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@
|
|||
:selected="$selected"
|
||||
change="{{ $change }}"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -30,7 +34,7 @@
|
|||
<template #option="{option}">
|
||||
<span class="tax-group flex items-center">
|
||||
<span class="float-left">
|
||||
@{{ option.value }}
|
||||
@{{ option.option.title }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
|
|
@ -68,6 +72,10 @@
|
|||
:selected="$selected"
|
||||
change="{{ $change }}"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -81,7 +89,7 @@
|
|||
<template #option="{option}">
|
||||
<span class="tax-group flex items-center">
|
||||
<span class="float-left">
|
||||
@{{ option.value }}
|
||||
@{{ option.option.title }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
|
|
@ -119,6 +127,10 @@
|
|||
:selected="$selected"
|
||||
change="{{ $change }}"
|
||||
sort-options="false"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -132,7 +144,7 @@
|
|||
<template #option="{option}">
|
||||
<span class="tax-group flex items-center">
|
||||
<span class="float-left">
|
||||
@{{ option.value }}
|
||||
@{{ option.option.title }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
|
|
@ -167,6 +179,10 @@
|
|||
change="{{ $change }}"
|
||||
sort-options="false"
|
||||
:field="$field"
|
||||
:option_field="[
|
||||
'key' => 'id',
|
||||
'value' => 'title'
|
||||
]"
|
||||
|
||||
:multiple="$multiple"
|
||||
:group="$group"
|
||||
|
|
@ -180,7 +196,7 @@
|
|||
<template #option="{option}">
|
||||
<span class="tax-group flex items-center">
|
||||
<span class="float-left">
|
||||
@{{ option.value }}
|
||||
@{{ option.option.title }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
|
|
|
|||
Loading…
Reference in New Issue