I think there is a followup issue to convert #size to #max for number components. Size is not a valid attribute for input type=number elements.