UncommonConcept / ngx-toggle-switch

AoT build issue fix, Will be more collaborative repository. Since no activity of angular2-ui-switch repository.
MIT License
16 stars 8 forks source link

required three state toggle #6

Open prkumarmca opened 6 years ago

prkumarmca commented 6 years ago

instead of on,off, i have a scenario like accept, reject, na, where user can choose either of 3 options.

Bill-Dagg commented 5 years ago

Doesn't sound like an appropriate use case for a toggle switch. Toggle switches, by definition, have 2 states -- on or off. Furthermore, the effect of a toggle should be immediate (like a light switch) -- see https://www.nngroup.com/articles/toggle-switch-guidelines/. How would that work with 3 states? Further action, such as a form "submit" should not be required.

Sounds like you want radio buttons or a slider, perhaps.