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: |
Description
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: http://jsfiddle.net/tj_vantoll/WW8jN/
Change History (2)
comment:1 Changed 9 years ago by
Status: | new → open |
---|
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
Never mind, you need to use the instance's
uiSpinner
property instead ofelement
: http://jsfiddle.net/tj_vantoll/WW8jN/1/. It's been a long day.