-
Notifications
You must be signed in to change notification settings - Fork 60
FORMS-18644: Desktop, RWD Tablet, RWD Mobile - Controls have same name but different actions @sunnym @vavarshn #1571
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
base: dev
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<template data-sly-template.questionMark="${@ componentId, longDescription, bemBlock}"> | ||
<button class="${bemBlock}__questionmark" data-sly-test="${longDescription}" title="Help text"> | ||
<template data-sly-template.questionMark="${@ componentId, longDescription, bemBlock, componentTitle}"> | ||
<sly data-sly-set.namedTitle="${componentTitle} help text" /> | ||
<sly data-sly-set.fullTitle="${componentTitle ? namedTitle : 'Help text'}" /> | ||
<button class="${bemBlock}__questionmark" data-sly-test="${longDescription}" title="${fullTitle}"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will impact backward compatiblity, it would need to be addressed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The only backwd compatibility case I could think of is this component being used without giving it he "componentTitle" param (as it was before). I made a test using it in the "checkboxgroup" component as And the text returns to "Help text" as it was initially If there are any other compatibility cases please let me know. |
||
</button> | ||
</template> | ||
</template> |
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.
Since we are fixing this can we add localization fix as well, use following instead:
${'Help text' @ i18n}
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.
Added localization.