Skip to content

empty lists #2

Description

@thinkerytim

I'm using jCombo to create a cascading set of select lists, used to set a location for a search.

The problem comes when there's no items returned for an element.

For example-- if you have locations in both the USA and Canada, you create a list of select boxes like "country", "state", "province", "county" etc. just as you see in the demo code.

But there are no states in Canada-- so when you select "Canada" from the Country select list, the cascade dies, since there's no value returned from the state query, rather than just skipping past this value and proceeding with the province select list.

Is there a way to work around this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions