Use the standard picker for the last 78 plain dropdowns in agent and admin windows, with the picker keeping w-auto, flex-grow-0 and max-width from the select so narrow ones stay narrow

This commit is contained in:
johnnyq
2026-11-20 23:57:43 -05:00
parent df64d82f3a
commit 31c34fd92a
49 changed files with 89 additions and 79 deletions

View File

@@ -42,7 +42,7 @@ $m_usage = $m ? paymentMethodUsageFor($m_name) : ['total' => 0];
<label class="form-label">Offered for</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-exchange-alt"></i></span>
<select class="form-select" name="use">
<select class="form-select select2" name="use">
<?php foreach (PAYMENT_METHOD_USES as $value => $use) { ?>
<option value="<?= $value ?>"<?= $value === $m_use ? ' selected' : '' ?>><?= escapeHtml($use['label']) ?></option>
<?php } ?>