I'll cut straight to it. Here's how to setup left or right icon clicks inside a text field control in MVC.
Here I have a TextBox with a right icon click that opens a widget.
To set this up find the icon search from your webpage's canvas on the right panel. You can also select the (?) icon that takes you to Google's icon page. You can use anyone of the google icons. In my case I want the magnifying glass.
Then go the the textbox control and add an event on the right/left icon click and select the event that you want invoked. In my case I want to open a widget window. So, this is what my control would look like.
In this case I am not passing any parameters to my widget so this would be all that I would need to do here.
5.1 MVC Left/Right Icon Click To Open Window
-
- Posts: 38
- Joined: March 16th, 2022, 1:04 pm
- Contact: