Two-way value binding is defined using v-model. The number of characters is defined with the length property, which is set to 4 by default.