Opened 5 years ago

Closed 5 years ago

#10548 closed bug (worksforme)

spinner

Reported by: eliebenberg Owned by: eliebenberg
Priority: minor Milestone: none
Component: ui.spinner Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:

Description

no event fires if spin only once. using v 1.11. have tested on both spinstart and spin.

$(".Feeling90ASpinner").spinner({ onSelect: function () { }, max: 20, min: 1 }); jQuery(".Feeling90ASpinner").on('spin', function () {

if ($(this).val() != "") {

$("#Feeling90").prop('checked', true); $(".Feeling90ASpinner").css({ "border-color": "#ABAAAA", "border-width": "1px", "border-style": "solid" });

}

}); jQuery(".Feeling90ASpinner").on('spinstart', function () {

if ($(this).val() != "") {

$("#Feeling90").prop('checked', true); $(".Feeling90ASpinner").css({ "border-color": "#ABAAAA", "border-width": "1px", "border-style": "solid" });

}

});

Change History (2)

comment:1 Changed 5 years ago by Scott González

Owner: set to eliebenberg
Status: newpending

Please provide a reduced test case as requested in the red box. Make sure to only use options that exist, simplify the test to the minimum code required, and describe the steps you're taking.

comment:2 Changed 5 years ago by Scott González

Resolution: worksforme
Status: pendingclosed

Closing as this works for me and there hasn't been a test case provided.

Note: See TracTickets for help on using tickets.