Releases: spatie/laravel-html
Releases · spatie/laravel-html
2.11.0
- Add
readonly
method to input
2.10.3
- Fix
__call
when using macros
2.10.2
Htmlable
elements can now be used in thehtml()
method- Array notation is now implicitly converted to dot notation in
old
(e.g.foo[1] -> foo.1
)
2.10.1
- Fixed old values containing
0
2.10.0
- Added
required
method toSelect
2.9.0
- Added a
required
toTextarea
2.8.2
- Fixed a bug with values that are a
"0"
string
2.8.1
- Fixed a bug with values that are a
"0"
string
2.8.0
- Added a magic
__call
method that responds to methods ending withIf
, so any method can be called with a condition as it's first argument. The method will only be applied if the condition is truthy.
2.7.0
- Added
BaseElement::data
for data attributes