I have two content types,
Brand have a
sector field which is an Entity reference field.
I have views that display the list of Brands and it has a
sector contextual filter which displayed as an input field where you have to input a node ID.
I was trying to make it a dropdown with sector titles for a user friendly experience but wasn't able to achieve this in views. So I decided to alter the views form but it seems like that it's not working the same as in D7.
What's the right way to alter the views field or is there a way to render a field as dropdown using views?