close #450 Enhancement : Delete select2 selected item
This commit is contained in:
@ -105,7 +105,10 @@
|
||||
});
|
||||
|
||||
$("#vendor_id").select2({
|
||||
placeholder: "{{ trans('general.form.select.field', ['field' => trans_choice('general.vendors', 1)]) }}"
|
||||
placeholder: {
|
||||
id: '-1', // the value of the option
|
||||
text: "{{ trans('general.form.select.field', ['field' => trans_choice('general.vendors', 1)]) }}"
|
||||
}
|
||||
});
|
||||
|
||||
$("#payment_method").select2({
|
||||
|
Reference in New Issue
Block a user