Open mayuroks opened 8 years ago
Did you get any fix/workaround for this ? @mayuroks I am running into the same issue !!
Add modifications to typehead css/class via jquery click function and remove
$('#pxth').click(function() {
$('.tt-menu').css({
'width': '420px',
'font-size': '16px',
'margin-left' : '-15px',
'margin-top': '20px'
});
});
$('#pxes').click(function() {
$('.tt-menu').css({
'width': '260px',
'font-size': '15px',
'margin-left' : '0px',
'margin-top': '0px'
});
});
In designed a form where a user clicks a particular button and a new input field is added. Those input fields auto-complete using typeahead js.
The problem is when a new auto-complete field is added I have to make
typeahead()
calls and it adds a lot of css to the field.Is there a way to disable adding all the unnecessary css. A simple option like
which prevents adding below html/css
Its messing up my UI.