What happens if min='' or max=''? If min or max isn't sent it probably shouldn't be in the HTML (same for dimension).