Damir

Results 42 comments of Damir

With the recent support for error bag should be fixed also for single input hasError() like here: https://github.com/protonemedia/laravel-form-components/blob/master/resources/views/bootstrap-4/form-input.blade.php#L13 The check must be: @error('field', 'errorBagName') is-invalid @enderror Setting error bag on...

Another issue related to generated routes. The regular expression constraints doesn't work since doesn't match the name of resource. This: ``` Route::get('/show/{dummies}','DummiesController@show') ->name('dummies.dummy.show')->where('id', '[0-9]+'); ``` Should be: ``` Route::get('/show/{dummies}','DummiesController@show') ->name('dummies.dummy.show')->where('dummies',...

I forgot one thing. A simple solution could be also just single line for each resource like: ``` Route::resource('dummies', 'DummiesController'); ``` Also update, show and delete routes better to keep...

If I understand this extra sql query check if column support fulltext search. I think this check should not even be required but only use toSearchableArray() Is developer's responsibility to...

I check into code a bit more and seem that this extra query is executed for select and where, because we can't access toSearchableArray(). A possible workaround could be to...

Spatie, please to update your docs for avoid to lost so much time with this, since this example here will not works with default config: https://spatie.be/docs/laravel-query-builder/v5/features/selecting-fields#content-selecting-fields-for-included-relations Is missing to mention...

Spatie, please to update your docs for avoid to lost so much time with this, since this example here will not works with default config: https://spatie.be/docs/laravel-query-builder/v5/features/selecting-fields#content-selecting-fields-for-included-relations Is missing to mention...

> `` doesn't seem to work? It's not working because it's not a valid JSON. JSON mandates that all keys must be strings. This is valid: ``` { "list": [...

@benpate to me sound good your solution to handle paginations, can I see the demo? Seem offline. I hope your PR get merged soon by @1cg

I understand the challenge... I see this behaviour in facebook wall, where posts are loaded on scroll bottom and old disapper on top, and when you scroll top, do the...