radio and checkbox widgets are not displayed if vocabulary is empty

Fix: for consistency with select widget, radio and checkbox widgets are not displayed if vocabulary is empty.