-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Closed
Copy link
Labels
LTS-PORTABLEIssue's fix will be ported to supported LTS versionsIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Description
Describe the bug
When setting inline = true to p-colorpicker, the colorpicker defaults to black.
Environment
Mac OS
Reproducer
Angular version
17.3.4
PrimeNG version
17.13.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.0.0
Browser(s)
No response
Steps to reproduce the behavior
- Set <p-colorPicker [inline]="true" /> and attach a reactive form control to it
- Default the control to some hex value
- Render the app
Expected behavior
- Colorpicker has to be defaulted to the specified color
ACTUAL Behavior:
- Colorpicker default to black color
NOTE: With inline = false or with ngModel + inline true - colorpicker works as expected
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
LTS-PORTABLEIssue's fix will be ported to supported LTS versionsIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working