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

Default bulma radio not showing #301

Closed
flick36 opened this issue Sep 5, 2017 · 7 comments
Closed

Default bulma radio not showing #301

flick36 opened this issue Sep 5, 2017 · 7 comments

Comments

@flick36
Copy link

flick36 commented Sep 5, 2017

Overview of the problem

The default bulma radios invisible

Buefy version: [0.5.1]
Vuejs version: [2.4.2]
OS/Browser: Chrome 60.0.3112.113

Description

That's it, the default radios of bulma doesn't show in any browser, cause the buefy component modify the parent class

Steps to reproduce

Make a default bulma radio or checkbox

<div class="control">
  <label class="radio">
    <input type="radio" name="answer">
    Yes
  </label>
  <label class="radio">
    <input type="radio" name="answer">
    No
  </label>
</div>

Expected behavior

To show the default checkbox

Actual behavior

Shows nothing
untitled

@jtommy
Copy link
Member

jtommy commented Sep 6, 2017

@flick36 What's the problem about b-radio ?
<b-radio name="answer">Yes</b-radio> It isn't enough?

@flick36
Copy link
Author

flick36 commented Sep 6, 2017

Well sometimes i don't want to use the buefy component, cause i have static pages that don't have vuejs and i want to use the default bulma one,

@jtommy
Copy link
Member

jtommy commented Sep 7, 2017

@flick36 I don't know your project structure but you might import buefy css only to certain pages.

@flick36
Copy link
Author

flick36 commented Sep 7, 2017

@jtommy I think it doesn't have to matter how the project is structured, but rather a matter of choose if sometimes you just want the default radio/checkbox or any other component that bulma offers i think buefy shouldn't override default classes 🤷‍♂️

@chasegiunta
Copy link
Contributor

Same issue. You'd think Bueify components would be applying any styles that override/conflict with native bulma classes, not Bueify's css.

@Tirke
Copy link
Contributor

Tirke commented Sep 8, 2017

While waiting for the fix you can copy/paste the html output from buefy to have a native checkbox/radio with buefy styles. It's a good compromise I use quite often because there is one nasty bug with b-checkbox on Firefox.

@jtommy jtommy closed this as completed in b661536 Sep 9, 2017
@kamaladenalhomsi
Copy link

same issue here, here is my code:
<b-radio v-model="radio" native-value="info" type="is-info">Info</b-radio>
ouput
https://i.imgur.com/56sd5JR.png

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

No branches or pull requests

5 participants