text input vetor set states of text fields vector image