I am trying to put an input
box in a sortable UL.
The sortable works but the text is "locked"
or the click event is overridden
...not sure what to do.
I think this link addresses some of my issue. But, I am still confused.
I have also fiddle code here for testing.
Thanks Tons In Advance!
sk
As pointed in comment, this works when you include input tag in cancel option
$('#jqParetoEditList').sortable({
cancel: ".fixed,input",
delay: 100,
//connectWith: "",
stop: function (event, ui) {
//p.HandleSortPareto(ui, ui.item) // note this just handles the change in order
},
start: function (event, ui) {}
});
Check the Working Fiddle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With