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 - У input type="number" в состоянии "disabled" не скрывается рамка как у type="text" #1645

Closed
1 of 9 tasks
d-flasher opened this issue Apr 25, 2024 · 0 comments · Fixed by #1646
Assignees
Labels
state:ready ready for release (pass tested) type:bug Something isn't working
Milestone

Comments

@d-flasher
Copy link

d-flasher commented Apr 25, 2024

Библиотека

Выберите нужное отметив галочку [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

Компонент

Input number

Версия

Операционная ситема:

Windows 11, etc

Браузер:

Google Chrome Версия 124.0.6367.79 (Официальная сборка), (64 бит)

NodeJS:

➜ node --version
v18.19.0

Dependencies:

➜ npm ls @prizm-ui/components

@prizm-ui/[email protected]
➜ npm ls @angular/core

+-- @prizm-ui/[email protected]
| `-- @angular/[email protected] deduped
+-- @prizm-ui/[email protected]
| `-- @angular/[email protected] deduped
+-- @prizm-ui/[email protected]
| `-- @angular/[email protected] deduped
+-- @prizm-ui/[email protected]
| `-- @angular/[email protected] deduped
+-- @prizm-ui/[email protected]
| `-- @angular/[email protected] deduped
+-- @prizm-ui/[email protected]
| `-- @angular/[email protected] deduped
+-- @prizm-ui/[email protected]


Проект в котором используется Prizm

  • ZMEB

Скрин / Видео проблемы

image
image

Описание проблемы

Использую prizm-input type="number"
(<prizm-input-layout> <input [formControl]="requiredInputControl" type="number" prizmInput />)

Есть проблема следующего характера: Рамка поля НЕ пропадает в состоянии disabled так же как у поля type="text"

Шаги воспроизведения:

  1. Зайти по адресу prizm
  2. Ввести любое значение
  3. Перевести в режим disabled
  • вокруг поля сохранится рамка такая же как в режиме enabled

p.s. У такого же поля, но type="text" рамка пропадает. У поля type="number" если не добавлять spinner кнопки - невозможно визуально понять в каком режиме input.

@d-flasher d-flasher changed the title [BUG] @prizm-ui/components - Краткое описание проблемы [BUG] @prizm-ui/components - У input type="number" в состоянии "disabled" нет визуального фидбека блокировки Apr 25, 2024
@d-flasher d-flasher changed the title [BUG] @prizm-ui/components - У input type="number" в состоянии "disabled" нет визуального фидбека блокировки [BUG] @prizm-ui/components - У input type="number" в состоянии "disabled" не скрывается рамка как у type="text" Apr 25, 2024
@ZurabDev ZurabDev self-assigned this Apr 25, 2024
@ZurabDev ZurabDev added this to the 4.3.0 milestone Apr 25, 2024
@ZurabDev ZurabDev added the type:bug Something isn't working label Apr 25, 2024
ZurabDev added a commit that referenced this issue May 14, 2024
fix(components/input-number): right style on disabled mode #1644 #1645
@imonogarov imonogarov added the state:ready ready for release (pass tested) label May 16, 2024
ickisIckis added a commit that referenced this issue May 31, 2024
fix(components/input-number): fix sync state with input-layout FOR V3 #1645 #1644
@ickisIckis ickisIckis mentioned this issue Jun 3, 2024
62 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:ready ready for release (pass tested) type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants