Search and Top Navigation
#9794 closed bug (notabug)
Opened February 06, 2014 09:40PM UTC
Closed February 07, 2014 03:25AM UTC
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/
Attachments (0)
Change History (2)
Changed February 06, 2014 09:41PM UTC by comment:1
status: | new → open |
---|
Changed February 07, 2014 03:25AM UTC by comment:2
resolution: | → notabug |
---|---|
status: | open → closed |
Never mind, you need to use the instance's
uiSpinnerproperty instead of
element: http://jsfiddle.net/tj_vantoll/WW8jN/1/. It's been a long day.