spartan-ng / spartan

Cutting-edge tools powering Angular full-stack development.

Home Page:https://spartan.ng

Repository from Github https://github.comspartan-ng/spartanRepository from Github https://github.comspartan-ng/spartan

disabled don't work on hlm-option

Impre-visible opened this issue · comments

Please provide the environment you discovered this bug in.

<brn-select
  class="inline-block w-full"
  placeholder="Test disabled"
  name="test"
  required
>
  <hlm-select-trigger class="w-full">
    <hlm-select-value />
  </hlm-select-trigger>
  <hlm-select-content>
    <hlm-option [value]="null" [disabled]="true">
      Disabled option
    </hlm-option>
  </hlm-select-content>
</brn-select>

Which area/package is the issue in?

select

Description

If I set disabled to be true, I can still select the hlm-option.

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No