Login Register

FilteringSelect

filteringSelect promptMessage query

Hello All

I cannot get promptMessage to work on a filteringSelect widget. Is this functionaliy (promptMessage) only for validationTextBoxes?

Am using dojo 1.2.1 on FF3 and IE7.

Thanks,
T.Fandango

FilteringSelect jump to user's previous selection...

What is the proper way to "jump to" the previous selection in a Filtering Select?

For example, there are three "pages" of options in the filtineringSelect, and the user selects an option from the 2nd "page". He then clicks on a couple different buttons, and then decides to change the value in the filtering select to a different option. When the user clicks into the filtering select, I'd like him to immediately see the option he originally selected (on "page" 2)....

Change style on individual options in filtering select

Hi Guys

is there a way of changing style or disabling individual options in a Filtering select?
Also is there a way of using optGroups?

Thanks

FilteringSelect is failing on certain characters: backspace a terminal ')' and typing in a beginning '*'

FilteringSelect is failing on terminal ')' and beginning '*'.

The JavaScript error messages I receive are as follows.

When I type in '*' as the first character in a blank entry: Unexpected quantifier
(Ex. "*")

When the field has a terminal ')' and I hit backspace: Expected ')' in regular expression
(Ex. "This Monkey(123)"

Is this a known problem w/ the filteringSelect dijit? If so, what workarounds address this sort of thing?

(I'm using Dojo 1.2.0)

filteringSelect - Unexpected Quantifier

When I type an '*' symbol into a filteringSelect box, I receive a JavaScript error message "Unexpected Quantifier".

Is this expected behavior?

FilteringSelect and accented characters

I have a problem with accented characters (with acute or grave accents, or umlauts, or cedilla).

My FilteringSelect is backed by a dojox.data.QueryReadStore which responds to partial query entered by the user. The transaction between the store and the server happens in JSON and that works great. Values are returned as name/id pairs. Everything is encoded in UTF8. When the list of autocomplete suggestions is displayed in the FilteringSelect suggestion box, everything is displayed exactly as it should, accents and all.

Commas in dijit.form.FilteringSelect value clause cause unexpected results

If a FilteringSelect dijit contains a comma in the value clause, things don't work as expected. Consider the following code:

<select value="comma, test" dojoType="dijit.form.FilteringSelect">
    <option value="value one">one</option>
    <option value="comma, test">two</option>
    <option value="value three">three</option>
</select>

You'd expect that the option with the label "two" would be selected. In Firefox 3, nothing gets selected, but Firebug reports no errors. In IE 6, an error is thrown: '0.oper' is null or not an object.

Reset FilteringSelect

How can you keep a FilteringSelect from restricting it's values?

I have a dialog with two filtering selects on it.
After the dialog is shown I load up the first fs.
When the user selects a value from there I load the second fs (both from itemFileReadStore).
The user then selects a value from the second fs and mashes a Go button.
Some action is performed and the dialog is then hidden.

My issue is that when the dialog is shown again the second fs contains ONLY the value selected.

Icons in QueryReadStore results for FilteringSelect

Hello,

I am using a dijit.form.FilteringSelect and dojox.data.QueryReadStore object to create a suggester for geographic locations. The user types in a few letters into a search box, and prefix-matching locations are returned for the query (for example, "San Antonio, TX" and "San Francisco, CA" for "san", "Yellowstone National Park" for "yell"). Each location has a type field ("city", "park", "beach", etc.), and there is an icon for each type. I would like to modify the FilteringSelect to display the appropriate icon next to each result.

Syndicate content