Browse Source
Feature/improve ux of toggle component (#3769)
* Improve usability via cursor styles
* Update changelog
pull/3775/head
Thomas Kaul
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/toggle/toggle.component.html
|
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
|
|
|
- Improved the usability of the toggle component |
|
|
- Switched to the accounts endpoint in the holding detail dialog |
|
|
- Switched to the accounts endpoint in the holding detail dialog |
|
|
|
|
|
|
|
|
## 2.107.1 - 2024-09-12 |
|
|
## 2.107.1 - 2024-09-12 |
|
|
|
@ -7,7 +7,10 @@ |
|
|
<mat-radio-button |
|
|
<mat-radio-button |
|
|
class="d-inline-flex" |
|
|
class="d-inline-flex" |
|
|
[disabled]="isLoading" |
|
|
[disabled]="isLoading" |
|
|
[ngClass]="{ 'cursor-pointer': !isLoading }" |
|
|
[ngClass]="{ |
|
|
|
|
|
'cursor-default': option.value === optionFormControl.value, |
|
|
|
|
|
'cursor-pointer': !isLoading && option.value !== optionFormControl.value |
|
|
|
|
|
}" |
|
|
[value]="option.value" |
|
|
[value]="option.value" |
|
|
>{{ option.label }}</mat-radio-button |
|
|
>{{ option.label }}</mat-radio-button |
|
|
> |
|
|
> |
|
|