We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fe6a5 commit 7e7a60fCopy full SHA for 7e7a60f
.changeset/lemon-kiwis-learn.md
@@ -0,0 +1,5 @@
1
+---
2
+"@primer/view-components": patch
3
4
+
5
+Add "action" to the list of data attributes that accept multiple values in the `merge_data` helper
app/lib/primer/attributes_helper.rb
@@ -4,7 +4,7 @@ module Primer
# :nodoc:
module AttributesHelper
6
PLURAL_ARIA_ATTRIBUTES = %i[describedby labelledby].freeze
7
- PLURAL_DATA_ATTRIBUTES = %i[target targets].freeze
+ PLURAL_DATA_ATTRIBUTES = %i[target targets action].freeze
8
9
def aria(val, system_arguments)
10
system_arguments[:"aria-#{val}"] || system_arguments.dig(:aria, val.to_sym)
0 commit comments