Feature/improve ux of toggle component (#3769)

* Improve usability via cursor styles

* Update changelog
pull/3775/head
Thomas Kaul 4 months ago committed by GitHub
parent 38ac3d387b
commit d703088611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the usability of the toggle component
- Switched to the accounts endpoint in the holding detail dialog
## 2.107.1 - 2024-09-12

@ -7,7 +7,10 @@
<mat-radio-button
class="d-inline-flex"
[disabled]="isLoading"
[ngClass]="{ 'cursor-pointer': !isLoading }"
[ngClass]="{
'cursor-default': option.value === optionFormControl.value,
'cursor-pointer': !isLoading && option.value !== optionFormControl.value
}"
[value]="option.value"
>{{ option.label }}</mat-radio-button
>

Loading…
Cancel
Save