Added new state and maxlength properties for all values