Added placeholder and minlength options to attributes (#1014)