primereact icon indicating copy to clipboard operation
primereact copied to clipboard

fix(Checkbox): bind value prop to input value attribute

Open KumJungMin opened this issue 8 months ago • 2 comments

Defect Fixes

  • fix: #7762

How To Resolve

  • The checkbox input was missing the value attribute. (ex. value="Mushroom") 스크린샷 2025-03-16 오후 4 26 24

< primeReact checkbox example >


  • Referring to a similar implementation in the PrimeVue library,
  • the PrimeReact checkbox was updated to bind the value prop to the input's value attribute.
스크린샷 2025-03-16 오후 4 27 39

< primeVue checkbox example >


Test

Before Fix: The input element did not have a value attribute.

스크린샷 2025-03-16 오후 4 26 24



After Fix: The input element's value attribute is correctly assigned from props.value(Mushroom)

스크린샷 2025-03-16 오후 4 30 44

KumJungMin avatar Mar 16 '25 07:03 KumJungMin

Deployment failed with the following error:

Creating the Deployment Timed Out.

vercel[bot] avatar Mar 16 '25 07:03 vercel[bot]

I commented in the ticket. This looks intentional by PrimeTek but I am not familiar with why.

melloware avatar Mar 16 '25 11:03 melloware