Fixed #23113 -- ChoiceInput.render should take specified attrs into account.

I'd multi-line this to prevent the need to scroll horizontally in github's review; otherwise LGTM.