I am working on the migration one of my applications to the new Ionic 7 version, but I am having some difficulties regarding the new API for inputs and forms. My application is a web app that primarily runs in the browser.
The problem lies in the fact that the inputs in my application have a slight visual customization that was easily achieved in the old version of Ionic since the was a completely distinct component from the , just by customizing each of the respective elements.
How can I customize the input to look this way using the new API?
Considering your suggestion, since my binding is dynamic because I’m using ngx-translate (I simplified the examples above), I think the correct way would be:
[attr.aria-label]="'Username' | translate"
placeholder="Fill your username">
I was testing with [legacy]=“true” attribute, but that was causing the deprecation warnings.
When using aria-label I’m I targeting the legacy system or the new one?
As I understood from the documentation, the legacy system will be deprecated, being removed in a future version. Since I was migrating, I would prefer to do all the necessary refactoring now, so I could support new versions in the future.