It seems there is an issue with adding class dynamically to input field in SUI.
My goal is to active a disabled input on double click, then disabled it again on blur.
On https://jsfiddle.net/Greggg/e1x7jnor/2/ on first input I am adding css dynamically with success. On second input, I am trying to do the same just by adding class and it does not work.
Here is code
<div class="column">
<div class="ui disabled transparent test2 input">
<input value="Add class do not work" type="text">
</div>
$(".disabled.transparent.test2").dblclick(function() {
$(this).addClass('focus').removeClass('disabled transparent');
$(this).find('input[type=text]').addClass('active');
});
Is it a SUI issue or a miscoding?
Any help would be appreciated
Greg