document.addEventListener('click', (e) => { // if(e.target !== modal[0] && e.target !== modal[0].children){ // console.log('true', e.target, e.childElementCount); // } if (e.target === modal[0] || modal[0].contains(e.target)) { return; } // console.log(e.target, modal); $(document).ready(function() { $('a').on("click", function(e) { return true; }); }); });
public static function form(Form $form): Form { return $form ->schema([ Card::make() ->schema([ Select::make('nomination_ids') ->label('Nominations') ->options(Nomination::pluck('name','id')) ->multiple() ->required(), Select::make('nomination_stages') ->label('Nomination Stages') ->options(Application::STATUS)->multiple() ->required(), ]) // ]); }
Target [Closure] is not instantiable.
$this->form([ Grid::make(2)->schema([ DateTimePicker::make('from') ->label($fromLabel), DateTimePicker::make('to') ->disabled() ->label($toLabel), ]), ]);
->filterTable("date_time", [ 'from' => $alert->first()->date_time, 'to' => $alert->first()->date_to ])