F
Filament17mo ago
emacdev

Creating N Checkboxes for Seat Activation: Exploring Low Seat and High Seat Options

How can I generate N number of checkbox based on Low Seat and High Seat? I have tried multiple things, but I can't manage to create them, since with those checkboxes I pretend to indicate if the seat is active or inactive.
Forms\Components\TextInput::make('row')
->label(__('lang.row'))
->required()
->maxLength(50),
Forms\Components\TextInput::make('low_seat')
->label(__('lang.low_seat'))
->numeric()
->required()
->maxLength(25)
->reactive(),
Forms\Components\TextInput::make('high_seat')
->label(__('lang.high_seat'))
->numeric()
->required()
->maxLength(25)
->reactive(),
Forms\Components\TextInput::make('row')
->label(__('lang.row'))
->required()
->maxLength(50),
Forms\Components\TextInput::make('low_seat')
->label(__('lang.low_seat'))
->numeric()
->required()
->maxLength(25)
->reactive(),
Forms\Components\TextInput::make('high_seat')
->label(__('lang.high_seat'))
->numeric()
->required()
->maxLength(25)
->reactive(),
1 Reply
Patrick Boivin
Patrick Boivin17mo ago
I'm not sure I can visualize how that would work... if you enter low_seat = 10 and high_seat = 20, what happens?
Want results from more Discord servers?
Add your server