-
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
p-confirmDialog: style & styleClass are not being passed to confirm dialog [v19-rc1] #17072
Milestone
Comments
imaksp
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Dec 16, 2024
mertsincan
added
Status: Pending Review
Issue or pull request is being reviewed by Core Team
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Dec 16, 2024
Hi, I have checked code for this, it seems passed styleClass value is not being used in component, instead it uses
& it seems style prop is not even present on p-dialog used inside primeng/packages/primeng/src/confirmdialog/confirmdialog.ts Lines 25 to 38 in cb8449b
|
cetincakiroglu
removed
the
Status: Pending Review
Issue or pull request is being reviewed by Core Team
label
Dec 17, 2024
fixed in 5a4219a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
confirm dialog is not passing
style
or custom class fromstyleClass
(like max-w-xl) as shown in stackblitz.see below image for example:
Environment
NA
Reproducer
https://stackblitz.com/edit/stackblitz-starters-qstm28mv?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts
Angular version
19.x
PrimeNG version
19.0.0-rc1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.x
Browser(s)
ALL
Steps to reproduce the behavior
Check reproduction link , dialog uses full screen width if message has more characters.
Expected behavior
it should pass given
style
&styleClass
to p-dialog.The text was updated successfully, but these errors were encountered: