How can i reach Single Select Box's textbox

Get help with using Metro 4 components
Post Reply
ahmetbcakici
Posts: 1
Joined: Thu Jan 17, 2019 12:38 pm
Status: Offline

How can i reach Single Select Box's textbox

Post by ahmetbcakici » Thu Jan 17, 2019 12:43 pm

http://prntscr.com/m8cwef

I'm using this component.İt's cool and useful for me but i cant manage it's textbox.You can see in this photo it's textbox: http://prntscr.com/m8cx27

Textbox is doing search filter and i want this already but i should reach it.For an example i want to select data where is in the textbox

What should i do? How can i reach to the textbox?

User avatar
olton
Site Admin
Posts: 238
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Thu Jan 17, 2019 2:58 pm

The text box is for entering data filtering functions. You cannot directly control it.
But you can access to it with javascript

Code: Select all

var select = $(el).data("select");
var input = select.element.closest(".select").find("input[type=text]");

Post Reply