#14835 closed enhancement (fixed)
implement mobile/SearchBox widget
Reported by: | Douglas Hays | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | DojoX Mobile | Version: | 1.7.2 |
Keywords: | contactsapp | Cc: | ykami, Atsushi Ono, koba |
Blocked By: | Blocking: |
Description
dojox/mobile needs a SearchBox? widget that looks and behaves like
INPUT type=search
but can search Dojo's date stores. Results will be returned but not displayed by this widget.
Attachments (6)
Change History (23)
Changed 9 years ago by
Attachment: | SearchBox.patch added |
---|
comment:1 Changed 9 years ago by
Cc: | ykami added |
---|---|
Milestone: | tbd → 1.8 |
Owner: | changed from ykami to Douglas Hays |
Priority: | undecided → high |
Status: | new → assigned |
ykami, can you please review this patch? I included only prototype CSS in the test_FormControls.html file just to show a crude representation of the expected search decorations. Desktop browsers that do not understand type=search will fallback to a simple textbox (with optionally supported placeHolder seearch text) but searching will still work. I forced IOS 4 to not display a cancel X to the right since it doesn't fire an event when this is clicked and it's not worth a lot of code to overlay the textbox with another DIV just for IOS4 since the overall function is barely diminished and this is fixed in IOS 5 (and already works on all other webkit browsers include Android 2.3+, Blackberry and of course Chrome).
Changed 9 years ago by
Attachment: | SearchBox.jpg added |
---|
comment:3 Changed 9 years ago by
Cc: | Atsushi Ono added |
---|
comment:6 Changed 9 years ago by
Note that ComboBox_a11y.html and FilteringSelect_a11y.html are still broken.
comment:7 Changed 9 years ago by
Keywords: | contactsapp added |
---|
Changed 9 years ago by
Attachment: | SearchBoxThemePatch.txt added |
---|
[IBM CCLA] theme files for SearchBox?
Changed 9 years ago by
Attachment: | SearchBoxTheme.patch added |
---|
I modified file extension. Please delete the previous patch.
comment:8 Changed 9 years ago by
Cc: | koba added |
---|
comment:13 Changed 9 years ago by
The attached test_SearchBox-demo.patch includes:
- New file: dojox/mobile/tests/test_SearchBox-demo.html This shows a dojox.mobile.SearchBox used for filtering a data store which content is displayed by a dojox.mobile.EdgeToEdgeDataList, and a dojox.mobile.SimpleDialog for customizing the search options.
- Modified file: dojox/mobile/tests/index.js Modified to add the new test.
We might also add a view for SearchBox into the mobileGallery.
Changed 8 years ago by
Attachment: | test_SearchBox-demo-new.patch added |
---|
Improved version to use dojo/store consistenly, and some minor cleanup - Adrian Vasiliu, IBM, CCLA
initial implementation for review