You are here

textfield_counter.schema.yml in Textfield Counter 8

config/schema/textfield_counter.schema.yml

File

config/schema/textfield_counter.schema.yml
View source
  1. field.widget.settings.text_textarea_with_counter:
  2. type: mapping
  3. label: 'Text area (multiple rows) with counter widget settings'
  4. mapping:
  5. rows:
  6. type: integer
  7. label: 'The number of rows in size that the textarea should be'
  8. placeholder:
  9. type: string
  10. label: 'The form element placeholder text'
  11. maxlength:
  12. type: integer
  13. label: 'The maximum number of characters allowed in the textarea'
  14. counter_position:
  15. type: string
  16. label: 'The position of the counter in relation to the text field: before or after'
  17. js_prevent_submit:
  18. type: boolean
  19. label: 'Whether or not form submission should be prevented using JavaScript when the character limit has been crossed'
  20. count_html_characters:
  21. type: boolean
  22. label: 'Whether or not HTML characters should be included in the character count.'
  23. textcount_status_message:
  24. type: string
  25. label: 'The message shown indicating the status of the character count. The variables @maxlength, @current_length, @remaining_count'
  26. field.widget.settings.text_textarea_with_summary_and_counter:
  27. type: mapping
  28. label: 'Text area (multiple rows) with summary and counter widget settings'
  29. mapping:
  30. rows:
  31. type: integer
  32. label: 'The height of the textarea in horizontal rows'
  33. enable_summary:
  34. type: boolean
  35. label: 'Whether or not the summary field is enabled'
  36. summary_rows:
  37. type: integer
  38. label: 'The height of the summary in horizontal rows'
  39. show_summary:
  40. type: boolean
  41. label: 'Always show summary'
  42. summary_maxlength:
  43. type: integer
  44. label: 'Maximum length of the summary'
  45. placeholder:
  46. type: string
  47. label: 'The form element placeholder text'
  48. maxlength:
  49. type: integer
  50. label: 'The maximum number of characters allowed in the textarea'
  51. counter_position:
  52. type: string
  53. label: 'The position of the counter in relation to the text field: before or after'
  54. js_prevent_submit:
  55. type: boolean
  56. label: 'Whether or not form submission should be prevented using JavaScript when the character limit has been crossed'
  57. count_html_characters:
  58. type: boolean
  59. label: 'Whether or not HTML characters should be included in the character count.'
  60. textcount_status_message:
  61. type: string
  62. label: 'The message shown indicating the status of the character count. The variables @maxlength, @current_length, @remaining_count'
  63. field.widget.settings.string_textarea_with_counter:
  64. type: mapping
  65. label: 'Text area (multiple rows) with counter widget settings'
  66. mapping:
  67. rows:
  68. type: integer
  69. label: 'The number of rows in size that the textarea should be'
  70. placeholder:
  71. type: string
  72. label: 'The form element placeholder text'
  73. maxlength:
  74. type: integer
  75. label: 'The maximum number of characters allowed in the textarea'
  76. counter_position:
  77. type: string
  78. label: 'The position of the counter in relation to the text field: before or after'
  79. js_prevent_submit:
  80. type: boolean
  81. label: 'Whether or not form submission should be prevented using JavaScript when the character limit has been crossed'
  82. count_html_characters:
  83. type: boolean
  84. label: 'Whether or not HTML characters should be included in the character count.'
  85. textcount_status_message:
  86. type: string
  87. label: 'The message shown indicating the status of the character count. The variables @maxlength, @current_length, @remaining_count'
  88. field.widget.settings.string_textfield_with_counter:
  89. type: mapping
  90. label: 'Textfield with counter widget settings'
  91. mapping:
  92. size:
  93. type: integer
  94. label: 'The HTML size attribute to be applied to the textarea'
  95. placeholder:
  96. type: string
  97. label: 'The form element placeholder text'
  98. use_field_maxlength:
  99. type: boolean
  100. label: 'Indicates whether the field settings should be used for the maximum length'
  101. maxlength:
  102. type: integer
  103. label: 'The maximum number of characters allowed in the textarea'
  104. counter_position:
  105. type: string
  106. label: 'The position of the counter in relation to the text field: before or after'
  107. js_prevent_submit:
  108. type: boolean
  109. label: 'Whether or not form submission should be prevented using JavaScript when the character limit has been crossed'
  110. count_html_characters:
  111. type: boolean
  112. label: 'Whether or not HTML characters should be included in the character count.'
  113. textcount_status_message:
  114. type: string
  115. label: 'The message shown indicating the status of the character count. The variables @maxlength, @current_length, @remaining_count'
  116. field.widget.settings.text_textfield_with_counter:
  117. type: mapping
  118. label: 'Text field with counter widget settings'
  119. mapping:
  120. size:
  121. type: integer
  122. label: 'The HTML size attribute to be applied to the textarea'
  123. placeholder:
  124. type: string
  125. label: 'The form element placeholder text'
  126. use_field_maxlength:
  127. type: boolean
  128. label: 'Indicates whether the field settings should be used for the maximum length'
  129. maxlength:
  130. type: integer
  131. label: 'The maximum number of characters allowed in the textarea'
  132. counter_position:
  133. type: string
  134. label: 'The position of the counter in relation to the text field: before or after'
  135. js_prevent_submit:
  136. type: boolean
  137. label: 'Whether or not form submission should be prevented using JavaScript when the character limit has been crossed'
  138. count_html_characters:
  139. type: boolean
  140. label: 'Whether or not HTML characters should be included in the character count.'
  141. textcount_status_message:
  142. type: string
  143. label: 'The message shown indicating the status of the character count. The variables @maxlength, @current_length, @remaining_count'