Fixes #5834. Wrapping input with label to prevent line break.