The way data attributes used to be created by Coral2 UI components has
been changed in coral3 UI. That is causing problems.So creating data
attribute with Granite/Coral3 components, granite:data node has to be
created with data attribute properties Common Attributes — Granite UI
1.0 documentation