Converting Form components from laravelcollective/html to spatie/laravel-html #205
Unanswered
DamianDeMie
asked this question in
Q&A
Replies: 1 comment
-
I'm not sure is it possible in laravel-html, but if you cannot find solution you can always try with native larave's component: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
My company is in the middle of migrating from laravelcollective/html to spatie/laravel-html, however we use quite a few custom components from the old package and are having issues converting it to the new laravel-html syntax.
An example of what we have is
Form::component('imText', 'general.formfields.text', ['label', 'name', 'value', 'attributes']);
We want to be able to use a Blade component like this, give it a name and attributes, how would we go about doing that in laravel-html?
Beta Was this translation helpful? Give feedback.
All reactions