Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
This is a Feature Request to v7 and #26283
To fully be able to get rid of the deprecated usage of form elements within the ion item it would be great to support icon's within these elements as well.
Describe the Use Case
This are inputs in our current app:
Many Password Input's have a toggle icon to show the password at the end. Also a start icon can be great to personalize the form element more.
Describe Preferred Solution
I would prefer a slot solution where deverlopers are able to place something at the start or end slot, similar to the item. With this it would be easier to add a click handler to the icon (to for example toggle the input mode to show or hide a password)
Also it should be somehow possible to not focus the element on icon click. If i think of the password toggle icon, a click on that icon should not focus the element.
Describe Alternatives
An alternative could be two properites startIcon
and endIcon
, but i don't really think this is the right way, as then there also should be two events for clicking these.
Related Code
No response
Additional Information
No response