Replies: 1 comment 1 reply
-
| 
         Yes, because a role transforms the input element into a composite element. You must apply the hide method to the parent of input  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I use MetroUI along with jQuery and jQuery loads first.
I use the input component as follows:
<input id="inpID" type="text" data-role="input" class="mb-2 input-large" >I want to hide/show the rendered input field by Javascript.
But when I do the following, the input field does not disappear resp. appear:
$('#inpID').hide()I used every possibility like Metro.getPlugin(el, "input") etc. but nothing works.
Do I do a wrong thing or is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions