We are excited to announce the release of Ionic 8.5, bringing valuable updates to form controls, modals, and framework customization. This release enhances components like Checkbox, Select, and Toggle with new validation features, improves Sheet Modals with better scrolling behavior, and adds more control over styling and error logging. With React 19 support and key community contributions, Ionic 8.5 makes development more seamless and efficient.
Dive into what’s new below
Enhanced Form Controls
In our ongoing effort to make form handling more intuitive, we’ve introduced several updates:
Helper and error text
The helperText
and errorText
properties that have been available in ion-input
and
ion-textarea
are now available on
ion-checkbox
, ion-select
,
ion-toggle
, and ion-radio-group
. These
properties allow developers to provide additional context or error
messages directly within the form controls, enhancing user guidance
and validation processes.
Thanks to swimer11 for
their help implementing this feature for select!
See the Checkbox, Select, Toggle, and Radio documentation for more information.
Required property
We’ve added the required
property to
ion-checkbox
, ion-select
, and
ion-toggle
. This allows these controls to be marked as
mandatory for accessibility purposes. When set to
true
, screen readers will announce the field as
required. However, please note that this property does not prevent
form submission if the value is invalid; it is intended solely to
improve accessibility for users relying on assistive
technologies.
See the Checkbox, Select, and Toggle documentation for more information.
Flexible Sheet Modal Scrolling
Introducing the expandToScroll
property, which
enables sheet modals to be scrollable at all breakpoints when set
to false
. By default, scrolling is only enabled when
the sheet modal is fully expanded. This enhancement provides a more
seamless user experience, especially when dealing with content-rich
modals that require scrolling.
Thanks to kumibrr for their
valuable contributions to the implementation of this
feature!
expandToScroll = false |
expandToScroll = true |
See the Modal documentation for more information.
Community Contributions
Our community is an integral part of enhancing the Ionic Framework, and we sincerely appreciate the contributions that help make it better. We’d like to thank the following contributors for their valuable work in adding these features:
- Toolbar: Thanks to fudom for adding
shadow parts for
background
,container
, andcontent
, providing developers with more customization options. (ac4ea32) - Config: Thanks to sean-perkins
for introducing the
logLevel
option to suppress Ionic warnings and errors in the configuration, offering developers greater control over their debugging processes. (efd3e0f) - Input & Textarea: Thanks to mehran-prs for
adding support to inherit the
dir
attribute in the native form controls, enhancing our RTL (Right-to-Left) language support. (504fb6a)
React 19 Support
We’re excited to announce that Ionic 8.5 now fully supports React 19. This update ensures compatibility and leverages the latest features and improvements in the React ecosystem. Additionally, we’ve addressed issues related to React 19 types, ensuring a smoother development experience for our React community.
Notable Fixes
This release also includes significant fixes from the last patch:
- Capacitor v7 Support: Ensured full compatibility with Capacitor v7, allowing developers to use the latest native runtime features without issues. (b6b43ae) (2149ba2)
- Alert: Improved keyboard navigation by ensuring focus is set to the button when only one is present; otherwise, focus is placed on the wrapper for better accessibility. (4df0e0f)
- Select: Implemented auto-scroll to the selected item for all interfaces, enhancing user navigation within select menus. (8eaeb22)
What’s Next
We know we’ve been quiet lately, but we want to reassure you that we are investing more in open source and are committed to growing the Ionic ecosystem. In the coming weeks we will share more details about our roadmap and the exciting improvements and new features on the horizon.
We encourage you to explore these latest updates. As always your
feedback is invaluable to us. Thank you for being an essential part
of the Ionic community and for your continued support. Stay tuned
for more updates soon!
The post Announcing Ionic 8.5 appeared first on Ionic Blog.