Skip to content
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

Checkbox : how to ? #3

Open
forxer opened this issue Apr 15, 2023 · 1 comment
Open

Checkbox : how to ? #3

forxer opened this issue Apr 15, 2023 · 1 comment

Comments

@forxer
Copy link
Owner

forxer commented Apr 15, 2023

I am embarrassed for this form field because to apply Bootstrap styles there are 3 elements with dedicated classes:

<div class="form-check">
    <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault">
    <label class="form-check-label" for="flexCheckDefault">
         Default checkbox
    </label>
</div>

So I can't just extend the Blade UI Kit Checkbox component.

I think I'm going to have to create components specific to this package. But we are going to lose granularity.

@forxer
Copy link
Owner Author

forxer commented May 12, 2023

Same concerns for Bootstrap 4:

<div class="custom-control custom-checkbox">
    <input type="checkbox" class="custom-control-input" id="customCheck1">
    <label class="custom-control-label" for="customCheck1">Check this custom checkbox</label>
</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant