This control aims to add support for [not specified|no|yes] control to Nette. This can not be done easily because of non-type-safe working with keys in Nette\Forms.
Keep in mind that getValue returns TRUE|FALSE|NULL while getRawValue returns internal representation of these values.
I only used this with custom rendering, I don't know whether it renders correctly by default.
Snippet i used for rendering:
Note that use of $form[$name]->rawValue instead of value
<div class="form-group">
<div class="control-label col-sm-2">
{label $name/}
</div>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
{foreach $form[$name]->items as $key => $label}
<label n:class="btn,btn-default, $form[$name]->rawValue === $key ? active" n:name="$name:$key">
<input n:name="$name:$key"> {$label}
</label>
{/foreach}
</div>
</div>
</div>