onion flowers are edible
if it's too late in the season to be worried about bolting or your onions have already flowered, you can eat the blossoms. the flowers have a pungent onion taste cut by sweetness. you'll want to collect and eat the onion flowers before they dry out.