Skip to content

Form input bindings section translated #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 28, 2017

Conversation

panietoar
Copy link

No description provided.

@@ -1,18 +1,18 @@
---
title: Form Input Bindings
title: Enlace de datos (Binding) en Campos de Formluario

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enlace de datos me suena raro, quizás Asignaciones de datos en formularios o `"Binding en formularios"?

Por cierto hay un typo en Formluario

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hecho, gracias


<p class="tip">`v-model` doesn't care about the initial value provided to an input or a textarea. It will always treat the Vue instance data as the source of truth.</p>
<p class="tip">`v-model` no se preocupa por el valor inicial dado a un input o textarea. Siempre considera a los datos de instancia de Vue como la fuente de verdad.</p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

la fuente de la verdad. Sin el artículo se puede entender de otra manera.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hecho


<p class="tip" id="vmodel-ime-tip">For languages that require an [IME](https://en.wikipedia.org/wiki/Input_method) (Chinese, Japanese, Korean etc.), you'll notice that `v-model` doesn't get updated during IME composition. If you want to cater for these updates as well, use `input` event instead.</p>
<p class="tip" id="vmodel-ime-tip">Para lenguajes que requieren un [IME](https://en.wikipedia.org/wiki/Input_method) (Chino, Japonés, Koreano, etc), se dará cuenta que `v-model` no se actualiza dutante la composición IME. Si también desea soportar estas actualizaciones, mejor use el evento `input`.</p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo en dutante.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hecho

@@ -62,12 +62,12 @@ new Vue({


{% raw %}
<p class="tip">Interpolation on textareas (<code>&lt;textarea&gt;{{text}}&lt;/textarea&gt;</code>) won't work. Use <code>v-model</code> instead.</p>
<p class="tip">La interpolación en textareas (<code>&lt;textarea&gt;{{text}}&lt;/textarea&gt;</code>)no funcionará. En cambio use<code>v-model</code>.</p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

falta espacio despues de use

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gracias


For radio, checkbox and select options, the `v-model` binding values are usually static strings (or booleans for checkbox):
Para opciones en radios, checkboxes y selects, los valores asignados mediante `v-model` son usualmente strings estáticos (o booleanos para checkbox):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strings => cadenas de texto, me parece es un termino traducible pero lo dejo a debate.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gracias

<input type="radio" v-model="picked" value="a">

<!-- `toggle` is either true or false -->
<!-- `toggle` es o verdadero o falso -->

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

le sobra el primero o

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hecho

<select v-model="selected">
<option value="abc">ABC</option>
</select>
```

But sometimes we may want to bind the value to a dynamic property on the Vue instance. We can use `v-bind` to achieve that. In addition, using `v-bind` allows us to bind the input value to non-string values.
Pero a veces queremos asignar el valor a una propiedad dinánimca de la instancia Vue. Podemos usar `v-bind` para lograr esto. Adicionalmente, usar `v-bind` nos permite asignar el valor del input a valores que no sean strings.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo en dinánimca

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehco


> Si los componentes de Vue no le son familiares, sólo salte esta sección por ahora.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

el just en inglés suena bien, pero en español mejor puede saltarse esta sección...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hecho

@miljan-aleksic miljan-aleksic merged commit eb81fbc into vuejs-es:master Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants