protonemedia / laravel-form-components

A set of Blade components to rapidly build forms with Tailwind CSS (v1.0 and v2.0) and Bootstrap 4/5. Supports validation, model binding, default values, translations, Laravel Livewire, includes default vendor styling and fully customizable!
https://protone.media/blog/laravel-form-components-to-rapidly-build-forms-with-tailwind-css-and-bootstrap-4
MIT License
814 stars 105 forks source link

Laravel 10, TypeError when installing: Cannot access offset of type string on string #101

Open xorock opened 1 year ago

xorock commented 1 year ago

TypeError

Cannot access offset of type string on string

at vendor/protonemedia/laravel-form-components/src/Support/ServiceProvider.php:52 48▕ 49▕ $prefix = config('form-components.prefix'); 50▕ 51▕ Collection::make(config('form-components.components'))->each( ➜ 52▕ fn ($component, $alias) => Blade::component($alias, $component['class'], $prefix) 53▕ ); 54▕ } 55▕ 56▕ /**

  +9 vendor frames