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