refactor: Update front-end assets by removing Select2 integration from various forms and adjusting the build configuration.

This commit is contained in:
pbao9
2026-02-28 21:29:13 +07:00
parent 5c97768707
commit 6b18c3ff12
36 changed files with 79 additions and 493 deletions
@@ -40,7 +40,7 @@
<div class="col-md-6">
<div class="form-group">
<label for="type">Type <span class="text-danger">*</span></label>
<select name="type" id="type" class="form-control select2">
<select name="type" id="type" class="form-control">
@foreach (AddonType::getOptions() as $value => $label)
<option value="{{ $value }}"
{{ $addon->type == $value ? 'selected' : '' }}>
@@ -135,7 +135,7 @@
<div class="col-md-6">
<div class="form-group">
<label for="input_type">Input Type</label>
<select name="input_type" id="input_type" class="form-control select2">
<select name="input_type" id="input_type" class="form-control">
@foreach (AddonInputType::getOptions() as $value => $label)
<option value="{{ $value }}"
{{ $addon->input_type == $value ? 'selected' : '' }}>
@@ -159,7 +159,7 @@
<div class="card-body">
<div class="form-group mb-3">
<label for="status">Status</label>
<select name="status" id="status" class="form-control select2">
<select name="status" id="status" class="form-control">
@foreach (Status::getOptions() as $value => $label)
<option value="{{ $value }}" {{ $addon->status == $value ? 'selected' : '' }}>
{{ $label }}