Hide or Show options in select

Get help with using Metro 4 components
Post Reply
Tequila
Posts: 1
Joined: Wed Sep 12, 2018 11:50 pm
Status: Offline

Hide or Show options in select

Post by Tequila » Wed Sep 12, 2018 11:52 pm

Hi,

I try to hide and show select items programmatically. The normal select ways doesn't work, which was expected, but does someone know, how to hide or show select options?

Thanks in advance.

Christian

RiddlerX2
Posts: 9
Joined: Mon Jun 11, 2018 12:35 pm
Status: Offline

Post by RiddlerX2 » Tue Sep 18, 2018 7:58 pm

I have similar requirement.
If I change list of options in select tag with javascript after select wrapper initialized by Metro it is not updated.
Does Metro UI have function to refresh visual part of select?

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

Post by olton » Tue Sep 18, 2018 8:00 pm


RiddlerX2
Posts: 9
Joined: Mon Jun 11, 2018 12:35 pm
Status: Offline

Post by RiddlerX2 » Tue Sep 18, 2018 8:03 pm

Thanks a lot!
Just all I need

Post Reply