Releases: spatie/laravel-html
Releases · spatie/laravel-html
2.6.0
- Added
BaseElement::setChildren
to replace all children - Fixed a bug that didn't select options in optgroups when applying a value
2.5.0
- Added
BaseElement::style
for setting the style attribute (with a string or an associative array) - Added
Html::reset
for form reset buttons
2.4.1
- Nothing changed, but
2.2.0
was accidentally tagged as2.4.0
. This release contains the actual latest version at the time of writing.
2.3.0
- Added
checked
andunchecked
methods toInput
2.4.0
- Added
Optgroup
element - Added the ability to create optgroups in
Options
by passing an array of groups with options
2.1.0
- Added
Html::file
and aFile
element for file inputs
2.0.2
- Fixed an issue that stripped square brackets from element attributes
2.0.1
- Fixed the
Html
facade
2.0.0
Version 2.0 was tagged because it could break some very specific cases, but you most likely don't have any work upgrading! Check out "Upgrading" for a detailed explanation.
- Minimum requirements have been reduced to PHP 7.0
- Added a
html()
helper function that returns an instance ofHtml
- Added
Macroable
to all elements andHtml
- Loosened type hints in method signatures for flexibility
- Added
Html::multiselect
method - Added
Select::multiple
method
1.5.0
- Added
class
method toHtml