[Form] Add min and max attributes to integer type
Fixes #6732