I am using the Accordion control, but would like to use other controls, such as the Textbox, inside of the Accordion panels. However, doing so results in the loss of all the styling that makes the Textbox control useful. I basically just have an ordinary textbox at this point. If I move the Textbox control outside the Accordion it looks fine. How can I fix this?
html
<div id="accordion_html_markup">
<div>
<div>
<div>"Option 1"</div>
</div>
<div>
<div id='container'>
<div class='wrap'>
<div id="input-container">
<input id="username" title="Username"/>
<input id="password" title="Password" type="password"/>
</div>
</div>
</div>
</div>
</div>
js
ej.base.enableRipple(true);
//Initialize Accordion component
var accordion = new ej.navigations.Accordion({});
//Render initialized Accordion component
accordion.appendTo('#accordion_html_markup');
var testrailUsername = new ej.inputs.TextBox({
placeholder: 'Username',
floatLabelType: 'Auto'
});
testrailUsername.appendTo('#username');
var testrailPassword = new ej.inputs.TextBox({
placeholder: 'Password',
floatLabelType: 'Auto'
});
testrailPassword.appendTo('#password');