-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Button of label is not updated properly #4548
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Comments
Like @dsichrovsky said, that issue was introduced in primeng's transition: 5.0.0 => 5.0.2 |
This is a more general issue. |
I had to fix it for now by doing:
|
cagataycivici
added
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Dec 19, 2017
cagataycivici
changed the title
pButton label is empty when using ngx-translate TranslateService
Button of label is not updated properly
Dec 24, 2017
This is fixed, I'd suggest using 5.1.0's p-button as it does not do dom operations like pButton directive. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
I'm submitting a ... (check one with "x")
In version 5.0.2 all localized button labels are empty however content in span tag is rendered correctly but style is applied incorrectly with text-indent: -99999999px;
This is probably connected with #1657 issue
in version 5.0.0 translation of buttons with ngx-translate was working
Expected behavior
Button shows localized label
Minimal reproduction of the problem with instructions
<button pButton type="button" (click)="login()" [label]="'Login' | translate">
What is the motivation / use case for changing the behavior?
Localized buttons
Please tell us about your environment:
Ubuntu 17.10, PhpStorm 2017.1
Browser: All
Language: TypeScript 2.4.2
Node (for AoT issues):
node --version
= v7.8.0The text was updated successfully, but these errors were encountered: