new ticket add clothing type (#46)

Reviewed-on: #46
This commit is contained in:
2025-03-03 21:00:46 +00:00
parent 24f28c24f2
commit 6e0168ce52
3 changed files with 21 additions and 5 deletions

View File

@ -11,7 +11,7 @@ export default class extends Controller {
}
hide() {
if (this.ticketSelectTarget.value === '2') {
if (this.ticketSelectTarget.value === '2' || this.ticketSelectTarget.value === '0') {
this.foodSelectTarget.disabled = true;
this.prevValue = this.foodSelectTarget.value;
this.foodSelectTarget.value = '0';