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

[BUG] @prizm-ui/components - Disabled PrizmInputIconButtonComponent still handle events #1823

Closed
1 of 9 tasks
AleksandrSibiakov opened this issue Jun 17, 2024 · 0 comments · Fixed by #1826
Closed
1 of 9 tasks
Assignees
Labels
source:idp issue from IDP type:bug Something isn't working
Milestone

Comments

@AleksandrSibiakov
Copy link
Contributor

Библиотека

Выберите нужное отметив галочку [x]

  • @prizm-ui/core
  • @prizm-ui/components
  • @prizm-ui/install
  • @prizm-ui/icons
  • @prizm-ui/flag-icons
  • @prizm-ui/theme
  • @prizm-ui/charts
  • @prizm-ui/ast
  • @prizm-ui/nx-plugin

Компонент

_PrizmInputIconButtonComponent _

Воспроизведение проблемы

PrizmInputIconButtonComponent не применяет аттрибут [disabled] к кнопке

<button prizmInputIconButton="floppy" [interactive]="true" [disabled]="true" (click)="alert('clicked')"></button>

Ожидаю что обработчик click не срабатывает, а именно кнопка имеет аттрибут [disabled].

@ickisIckis ickisIckis self-assigned this Jun 19, 2024
@ickisIckis ickisIckis added the type:bug Something isn't working label Jun 19, 2024
@ickisIckis ickisIckis added this to the 4.3.4 milestone Jun 19, 2024
ickisIckis added a commit that referenced this issue Jun 20, 2024
fix(components/input-icon-button): disabled button should not fire events #1823
ickisIckis added a commit that referenced this issue Jun 20, 2024
fix(components/input-icon-button): disabled button should not fire events #1823 v3
ZurabDev pushed a commit that referenced this issue Sep 20, 2024
fix(components/input-icon-button): disabled button should not fire events #1823
@bumalai bumalai added the source:idp issue from IDP label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source:idp issue from IDP type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants