NavParams deprecation in Ionic Angular 8.1

I am getting this message in the console:
[Ionic Warning]: NavParams has been deprecated in favor of using Angular’s input API. Developers should migrate to either the @Input decorator or the Signals-based input API.

I searched everywhere and there is no working sample of using @Input decorator instead of NavParams to pass data to the modal component.

2 Likes

I am encountering the same issue. Were you able to resolve it?

Found this, but didn’t work with a signal input