Open ganySA opened 8 years ago
I use dropdownToggle.children().eq(0)
to query the element inside button for updating button text. You prepend an element inside the button will make it fail to change the text
Thanks for the update. now i understand... do you have any suggestions?
I just wonder why you want to use this bootstrap style component in your 'material design' app. A material design select component should be a preferred.
Its a material design theme for bootstrap so there is a ripple effect.
I find that the material design angular version is too premature and is missing a lot of basic components.
PS: nice avatar!
I think rewrite DOM transverse using native querySelector and querySelectorAll may solve this
Hi
I am using the following bit of code to replicate a "material design" click wave event on a drop down / button.
The problem is that sometimes my nya-bootstrap select does not update the button text - the value in the background is update correctly (ID value) however the actual button text is not. When i remove the code below it works perfectly.
Any idea where the clash could be?