@ -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';
|
||||
|
Reference in New Issue
Block a user