[input] refactor inputWithAutocomplete for team share

No need for separate inputWithAutocomplete' which just duplicates code
and is aimed specifically for node share.
parent c13a7aff
Pipeline #5464 failed with stage
in 0 seconds