Releases: petalframework/petal_components
Releases · petalframework/petal_components
v1.2.12
- Improvement: file input looks better in dark mode
v1.2.11
- Fix: allow checkbox/radio labels to support links. eg.
<.field type="checkbox" field={@form[:checkbox]} label={raw(~s|Please accept these <a href="#" class="text-blue-500">Terms and Conditions</a> before continuing|)} />
v1.2.10
- Bumped phoenix_live_view dep to 0.19
v1.2.9
- Updated: add empty_message attr to
<.field>
(<.field type="checkbox-group|radio_group" empty_message="No options">
)
- Fixed:
<.field type="switch">
not providing a false
value when unchecked
v1.2.7
- Fixed radio-group value not being checked for integers
v1.2.6
- Fix radio-group checked options for <.field>
- Fix select selected options
v1.2.5
- Fix: <.field type="textarea" rows="1"> - rows for textarea are now overridable
v1.2.4
- Fixed button with icon (reverted tooltip)
v1.2.3
- Updated: Move custom css classes to last so they can potentially override default ones (button, loading)
- Added:
tooltip
option to <.button>
v1.2.2
- Updated: checkbox_group now supports
disabled_options
attr