-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix data table HTML column labels on mobile #1409
Fix data table HTML column labels on mobile #1409
Conversation
…ow data table cell label on mobile.
packages/ripple-ui-core/src/components/data-table/RplDataTableRow.vue
Outdated
Show resolved
Hide resolved
@@ -114,8 +114,8 @@ const getCellText = (col?: number | string, value = '') => { | |||
:is="i === 0 && verticalHeader ? 'th' : 'td'" | |||
v-for="(column, i) of columns" | |||
:key="i" | |||
:data-label="column.label" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @bgilhome-now, thanks for fixing this.
Can we please add the data-label back in for now, it won't be used for displaying content but there is some other stuff around that utilises it i.e. tests.
Cheers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lambry , done!
Fix for bug issue #1408
Issue:
What I did
How to test
isLabelHTML: true
and include HTML in thelabel
)Checklist
For all PR's
For new UI components only
emitRplEvent