svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.29k stars 63 forks source link

Required property is not working with Checkbox #492

Closed roxaneletourneau closed 5 months ago

roxaneletourneau commented 5 months ago

What package has an issue

@svelteuidev/core

A clear and concise description of what the bug is

Checkbox does not pass down the required attribute to the in the DOM.

In which browser(s) did the problem occur?

Chrome

Steps To Reproduce

  1. Create a form with a Checkbox having the required prop.
  2. The form can be submitted even if the Checkbox is not checked.

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Relevant Assets

No response

BeeMargarida commented 5 months ago

I'll make a patch release this week to fix this, thank you for creating this bug report! :raised_hands: