Selectbox add new text change

This commit is contained in:
Cüneyt Şentürk 2020-01-23 10:55:42 +03:00
parent 1f754a027e
commit 6c72fc39ce
6 changed files with 6 additions and 6 deletions

View File

@ -501,7 +501,7 @@ export default {
this.change();
this.add_new.status = false;
//this.add_new.status = false;
}
})
.catch(error => {

View File

@ -18,7 +18,7 @@
:multiple="true"
:add-new="{{ json_encode([
'status' => true,
'text' => trans('general.form.add_new', ['field' => $text]),
'text' => trans('general.add_new'),
'path' => isset($attributes['path']) ? $attributes['path']: false,
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',

View File

@ -16,7 +16,7 @@
:value="'{{ old($name, $selected) }}'"
:add-new="{{ json_encode([
'status' => true,
'text' => trans('general.form.add_new', ['field' => $text]),
'text' => trans('general.add_new'),
'path' => isset($attributes['path']) ? $attributes['path']: false,
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',

View File

@ -17,7 +17,7 @@
:value="'{{ old($name, $selected) }}'"
:add-new="{{ json_encode([
'status' => true,
'text' => trans('general.form.add_new', ['field' => $text]),
'text' => trans('general.add_new'),
'path' => isset($attributes['path']) ? $attributes['path']: false,
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',

View File

@ -24,7 +24,7 @@
:value="'{{ old('item_id', '') }}'"
:add-new="{{ json_encode([
'status' => true,
'text' => trans('general.form.add_new', ['field' => '']),
'text' => trans('general.add_new'),
'path' => route('modals.items.store'),
'type' => 'inline',
'field' => 'name',

View File

@ -24,7 +24,7 @@
:value="'{{ old('item_id', '') }}'"
:add-new="{{ json_encode([
'status' => true,
'text' => trans('general.form.add_new', ['field' => '']),
'text' => trans('general.add_new'),
'path' => route('modals.items.store'),
'type' => 'inline',
'field' => 'name',