You are here

chosen.schema.yml in Chosen 3.0.x

Same filename and directory in other branches
  1. 8.2 config/schema/chosen.schema.yml
config/schema/chosen.schema.yml

File

config/schema/chosen.schema.yml
View source
  1. chosen.settings:
  2. type: config_object
  3. label: 'Chosen settings'
  4. mapping:
  5. minimum_single:
  6. type: integer
  7. label: 'Minimum number of options for single select'
  8. minimum_multiple:
  9. type: integer
  10. label: 'Minimum number of options for multi select'
  11. disable_search_threshold:
  12. type: integer
  13. label: 'Minimum number to show Search on Single Select'
  14. minimum_width:
  15. type: integer
  16. label: 'The minimum width of the Chosen widget.'
  17. max_shown_results:
  18. type: integer
  19. label: 'Only show the first (n) matching options in the results. This can be used to increase performance for selects with very many options.'
  20. use_relative_width:
  21. type: boolean
  22. label: 'The relative width (% instead of px) of the Chosen widget.'
  23. jquery_selector:
  24. type: string
  25. label: 'Apply Chosen to the following elements'
  26. search_contains:
  27. type: boolean
  28. label: 'Search also in the middle of words'
  29. disable_search:
  30. type: boolean
  31. label: 'Disable search box'
  32. allow_single_deselect:
  33. type: boolean
  34. label: 'Allow deselect on single selects.'
  35. disabled_themes:
  36. type: sequence
  37. label: 'Disable the default Chosen theme for the following themes'
  38. sequence:
  39. type: string
  40. chosen_include:
  41. type: integer
  42. label: 'Use chosen for admin pages and/or front end pages'
  43. placeholder_text_multiple:
  44. type: label
  45. label: 'Placeholder text of multiple selects'
  46. placeholder_text_single:
  47. type: label
  48. label: 'Placeholder text of single selects'
  49. no_results_text:
  50. type: label
  51. label: 'No results text'