Selectbox add new text change
This commit is contained in:
parent
1f754a027e
commit
6c72fc39ce
@ -501,7 +501,7 @@ export default {
|
|||||||
|
|
||||||
this.change();
|
this.change();
|
||||||
|
|
||||||
this.add_new.status = false;
|
//this.add_new.status = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
:multiple="true"
|
:multiple="true"
|
||||||
:add-new="{{ json_encode([
|
:add-new="{{ json_encode([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'text' => trans('general.form.add_new', ['field' => $text]),
|
'text' => trans('general.add_new'),
|
||||||
'path' => isset($attributes['path']) ? $attributes['path']: false,
|
'path' => isset($attributes['path']) ? $attributes['path']: false,
|
||||||
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
|
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
|
||||||
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',
|
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
:value="'{{ old($name, $selected) }}'"
|
:value="'{{ old($name, $selected) }}'"
|
||||||
:add-new="{{ json_encode([
|
:add-new="{{ json_encode([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'text' => trans('general.form.add_new', ['field' => $text]),
|
'text' => trans('general.add_new'),
|
||||||
'path' => isset($attributes['path']) ? $attributes['path']: false,
|
'path' => isset($attributes['path']) ? $attributes['path']: false,
|
||||||
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
|
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
|
||||||
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',
|
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
:value="'{{ old($name, $selected) }}'"
|
:value="'{{ old($name, $selected) }}'"
|
||||||
:add-new="{{ json_encode([
|
:add-new="{{ json_encode([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'text' => trans('general.form.add_new', ['field' => $text]),
|
'text' => trans('general.add_new'),
|
||||||
'path' => isset($attributes['path']) ? $attributes['path']: false,
|
'path' => isset($attributes['path']) ? $attributes['path']: false,
|
||||||
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
|
'type' => isset($attributes['type']) ? $attributes['type'] : 'modal',
|
||||||
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',
|
'field' => isset($attributes['field']) ? $attributes['field'] : 'name',
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
:value="'{{ old('item_id', '') }}'"
|
:value="'{{ old('item_id', '') }}'"
|
||||||
:add-new="{{ json_encode([
|
:add-new="{{ json_encode([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'text' => trans('general.form.add_new', ['field' => '']),
|
'text' => trans('general.add_new'),
|
||||||
'path' => route('modals.items.store'),
|
'path' => route('modals.items.store'),
|
||||||
'type' => 'inline',
|
'type' => 'inline',
|
||||||
'field' => 'name',
|
'field' => 'name',
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
:value="'{{ old('item_id', '') }}'"
|
:value="'{{ old('item_id', '') }}'"
|
||||||
:add-new="{{ json_encode([
|
:add-new="{{ json_encode([
|
||||||
'status' => true,
|
'status' => true,
|
||||||
'text' => trans('general.form.add_new', ['field' => '']),
|
'text' => trans('general.add_new'),
|
||||||
'path' => route('modals.items.store'),
|
'path' => route('modals.items.store'),
|
||||||
'type' => 'inline',
|
'type' => 'inline',
|
||||||
'field' => 'name',
|
'field' => 'name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user