-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Type: BugIssue contains a defect related to a specific component.Issue contains a defect related to a specific component.
Description
Describe the bug
When using the value prop in a Checkbox component, I noticed that the value is not being used to populate the actual input's value attribute.
Reproducer
No response
System Information
-
Steps to reproduce the behavior
- Go to the Checkbox documentation -> scroll to the Dynamic section : https://primereact.org/checkbox/
- inspect the Marketing checkbox, click into its input element
- the value attribute is not being set as intended even though the category is being passed in as a value prop
Expected behavior
The value should be used to populate the input's value attribute. I'm currently working around this by adding a defaultValue in the pt prop like so pt={{ input: { defaultValue: category } }}
Metadata
Metadata
Assignees
Labels
Type: BugIssue contains a defect related to a specific component.Issue contains a defect related to a specific component.