jquery-steps icon indicating copy to clipboard operation
jquery-steps copied to clipboard

onChange function issue

Open YanJunXie opened this issue 3 years ago • 1 comments

When add any logics (alert, console.log or call APIs) in "onChange" function, they will be carry out twice...I just use the alert do this test, I found when trigger onChange function, the alert will be show twice, could u please help to fix this issue?

YanJunXie avatar Feb 16 '22 18:02 YanJunXie

When add any logics (alert, console.log or call APIs) in "onChange" function, they will be carry out twice...I just use the alert do this test, I found when trigger onChange function, the alert will be show twice, could u please help to fix this issue?

well I think I know why twice.. It display the status or value of current index and new index

sorryjack avatar Feb 24 '22 08:02 sorryjack