Added init data and removed value attribute