Opened 9 years ago

Closed 9 years ago

#9794 closed bug (notabug)

Spinner: Cannot create on <input>s not in the DOM

Reported by: tj.vantoll Owned by:
Priority: minor Milestone: none
Component: ui.spinner Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:


If you try to create a spinner on a <input> not in the DOM - e.g. $.ui.spinner( {}, "<input>" ) - it will fail because of this call to wrap().

Test case:

Change History (2)

comment:1 Changed 9 years ago by tj.vantoll

Status: newopen

comment:2 Changed 9 years ago by tj.vantoll

Resolution: notabug
Status: openclosed

Never mind, you need to use the instance's uiSpinner property instead of element: It's been a long day.

Note: See TracTickets for help on using tickets.