Skip to content

0.18.3

Choose a tag to compare

@woylie woylie released this 14 Oct 06:06
· 18 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • tabs: Add a disabled attribute to the :panel slot. A disabled tab can be focused with the arrow keys but not selected.

Changed

  • field: Raise for aria-errormessage and aria-invalid in :rest when diagnostics are enabled.

Fixed

  • Doggo.Storybook: Render the modifier variations of the field story.
  • field: Render global attributes, such as phx-change, on each control of a checkbox-group or radio-group.
  • field: Render autofocus on one control of a checkbox-group or radio-group.
  • field: Mark the legend of a checkbox-group as required when required is set.
  • field: Don't submit any value for a disabled checkbox, switch or checkbox-group.
  • field: Send the hidden input of a checkbox, switch or checkbox-group to the form named by form.
  • field: Visually hide the legend of a checkbox-group, radio-group or registered group type when hide_label is set.
  • field: Let an attribute passed to the field, such as maxlength or required={false}, replace the one in validations or derived from the changeset.
  • field: Show the required mark for a required attribute passed to the field.
  • field: Let screen readers read the required mark in the legend of a checkbox-group or registered group type.
  • field: Render a password input without a value.
  • menu: Close a menu opened by a menu_button and focus the button when an item is chosen.
  • menu_button: Keep a menu opened with the keyboard open after a patch.
  • relative_time: Show the title in the same format and time zone as the text when localize is set.