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

is-danger doesn't update select dropdown #3821

Closed
michaelgman13 opened this issue May 20, 2024 · 1 comment
Closed

is-danger doesn't update select dropdown #3821

michaelgman13 opened this issue May 20, 2024 · 1 comment

Comments

@michaelgman13
Copy link

michaelgman13 commented May 20, 2024

This is about both Bulma and the Docs.

Overview of the problem

This is about the Bulma CSS framework AND
This is about the Bulma Docs
I'm using Bulma version 1.0.0
My browser is: Firefox/Chrome

I am sure this issue is not a duplicate. I haven't been able to find it anywhere

Description

I'm using the select dropdown in a form and when I use the is-danger class, it doesn't update the dropdown.

Steps to Reproduce

Docs:

  1. Go to https://bulma.io/documentation/form/select/ on chrome and firefox.
  2. Look at the Colors section
  3. Observe none of the dropdowns reflect the code to the right.

Note: Curiously I found that this 3rd party website does reflect the code in its site: https://www.tutorialspoint.com/bulma/bulma_form_select.htm

Code:

This is the code I'm using:

<div class="field">
  <label class="label">Select Cake Filling</label>
  <div class="control">
    <div class="select is-danger has-da">
      <select [(ngModel)]="cakeFilling">
        <option>Select a Cake Filling</option>
        <option>Vanilla</option>
        <option>Chocolate</option>
      </select>
    </div>
  </div>
</div>

Expected behavior

I expect when I put the is-danger tag in the div class with select, it should make the border the red border color.

Actual behavior

Adding the tag doesn't seem to change the appearance of the dropdown.

Screenshot 2024-05-20 at 12 48 50 AM

@jgthms
Copy link
Owner

jgthms commented May 20, 2024

Duplicate of #3755

@jgthms jgthms marked this as a duplicate of #3755 May 20, 2024
@jgthms jgthms closed this as completed May 20, 2024
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

2 participants