Disabled ButtonGroup

You can enable or disable the ButtonGroup for Angular.

By default, the component is enabled. To disable the whole group of buttons, set the disabled attribute of the ButtonGroup to true.

To disable a specific button, set its own disabled attribute to true and leave the disabled attribute of the ButtonGroup undefined. If you define the disabled attribute of the ButtonGroup, it will take precedence over the disabled attributes of the underlying buttons and they will be ignored.

The following example demonstrates how to disable the ButtonGroup.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?