If I press "Show on mobile" button the input appears on the main canvas of the mobile view. But If I then move it into modal it disappears from the main canvas on the desktop.
I guess it is not my case. I need to keep my input component on the main canvas when user is on desktop, but put it inside modal when user is on mobile.