You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
My app has a highly interdependent model and the hybrid-mode fits my needs perfectly.
But in my case, the hybrid-mode depends on the current state of the model. The same group of radio buttons may switched to hybrid mode, and at other times not.
Without the hybrid-mode, I would need to add a Default-button with the value of nothing to allow the user to completely deselect a group of radio buttons.
With hybrid-mode, the user is able to complete deselect a group of radio buttons. Without the need of a Default-button.
In some cases the software selects/activates only one radio button and disables the other ratio buttons of the radio button group. Problem: With hybrid-mode enabled, the user would be able to de-select this one, computed choice. And thus, modify the model, even if it is forbidden.
I could work around thus, by disabling this one, computed choice. Thus, hindering the user to click the radio button. But in fact, this button has not the logical state of disabled but of selected. It is a valid choice and should not be displayed as disabled.
Generally speaking, I feel that Angular should allow for changing all (or most) aspects of the the UI interactively.
Maybe we could call it uib-uncheckable - I'm open to this feature. Would you like to try your hand at a PR implementing this directive along with the relevant tests?
The keyword
uncheckable
allows for hybrid checkbox-radio buttons.It would be helpful if this keyword could be set via a directive
ng-uncheckable
, similar to ngChecked.(I am new to Angular and don't understand how the
ngChecked
directive works yet. Otherwise I would simply copy and modify it.)The text was updated successfully, but these errors were encountered: