Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include a "force=true" attribute to data so "forced" options allways appear on results #369

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

josedetorre
Copy link

Hi there,

I hope to be doing this well, since it's my first time in GitHub and I'm doing this through the Web UI.
I needed some default values appear on the results drop-down list when searching for Countries:
"France", "Spain", "UK", "Italy", "Other countries"

To offer the user the "Other countries" option even if she tried to find "Germany" for example.
So I included a force=true attribute to data and those elements will allways show. If sorting is enabled, they will appear at the end of the list.

I hope you find it interesting and include it.

Thank you for the pluggin, it "matches" what I was looking for ;-)

Hi there, 

I've developed a feature to let some values in the list to be allways selected (forced)
In a list of Countries I needed to offer the user the "None of them" option ("Spain", "France", "UK", "Italy", "Other") so when she enters FR, the list returns "France", "Other", to let her choose  default values.

So, I 'm trying to set up a fork that needs three files and I am an absolutely NOOB at GitHub but I found this interesting and I liked to share.

I've I upload wrong, please sorry for the inconvenience.
SEE #20181025UC - FORCE VALUES
SEE #20181025UC - FORCE VALUES
#20181025UC - FORCE VALUES
#20181025UC - FORCE VALUES - CONFIGURATION
#20181025UC - FORCE VALUES - CORE
I had a list with ellipsis text so I added title to drop-down list elements for the items reduced by ellipsis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant