Skip to content

Commit e33f7a4

Browse files
testing name for field in UE in component models.
1 parent eb546ce commit e33f7a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

blocks/columns/columns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function decorate(block) {
1010
}
1111
if (textColorAttr) block.style.color = textColorAttr;
1212

13-
// for UE as value needs to be saved in different element due to having to walk the DOM tree to set the values
13+
// for UE as value needs to be saved in different element due to having to walk the DOM tree to set the values in -models.json
1414
const columnsChild = block.querySelector('div');
1515
const ueBkgdColorAttr = columnsChild?.getAttribute('data-background-color');
1616
const ueTextColorAttr = columnsChild?.getAttribute('data-text-color');

component-models.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
},
176176
{
177177
"component": "text",
178-
"name": "div.dataset.test-hundred",
178+
"name": "div[data-test-hundred]",
179179
"value": "",
180180
"label": "Try direct data attribute",
181181
"valueType": "string"

0 commit comments

Comments
 (0)