Replies: 2 comments 1 reply
-
|
To those who just want a workaround, you can use: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This seems like a bug, and we'd welcome a PR. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
{{ html()->text(value: 'my value') }}The generated html has no
valueattribute due to this line checking for$namebeing true-ish: https://github.com/spatie/laravel-html/blob/main/src/Html.php#L259 - for no apparent reason.I explicitly provide a value, I expect the value to be displayed, is there anyone who can explain why would I not?
Beta Was this translation helpful? Give feedback.
All reactions