From 91a1cf943ab4f9a2dae66d91b669b6825c6b4ba4 Mon Sep 17 00:00:00 2001 From: Gasim Gasimzada Date: Wed, 14 Aug 2019 13:10:43 +0400 Subject: [PATCH 1/3] Translate Forms --- content/docs/forms.md | 120 +++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/content/docs/forms.md b/content/docs/forms.md index 1a8b599d5..a5d4826d2 100644 --- a/content/docs/forms.md +++ b/content/docs/forms.md @@ -1,6 +1,6 @@ --- id: forms -title: Forms +title: Anketlər permalink: docs/forms.html prev: lists-and-keys.html next: lifting-state-up.html @@ -9,7 +9,7 @@ redirect_from: - "docs/forms-zh-CN.html" --- -HTML form elements work a little bit differently from other DOM elements in React, because form elements naturally keep some internal state. For example, this form in plain HTML accepts a single name: +React-də HTML anket elementləri digər DOM elementlərindən fərqli işləyirlər. Çünki anket elementlərinin təbii şəkildə daxili vəziyyəti olur. Məsələn, sadə HTML-də yazılmış anket tək ad qəbul edir: ```html
@@ -17,19 +17,19 @@ HTML form elements work a little bit differently from other DOM elements in Reac Name: - +
``` -This form has the default HTML form behavior of browsing to a new page when the user submits the form. If you want this behavior in React, it just works. But in most cases, it's convenient to have a JavaScript function that handles the submission of the form and has access to the data that the user entered into the form. The standard way to achieve this is with a technique called "controlled components". +Bu anketin istifadəçinin anketi göndərdiyində yeni səhifəyə dəyişməsi olan standart HTML anket davranışı var. Əgər siz React-də bu davranışı istəyirsinizsə, heç nə etmək lazım deyil. Lakin, bir çox halda anketin göndərilməsini idarə edən və istifadəçinin daxil etdiyi məlumatlardan istifadə edə bilən funksiyanın olması əlverişlidir. Bu funksionallığı tətbiq etmək üçün "kontrol olunan komponentlərdən" istifadə edə bilərsiniz. -## Controlled Components {#controlled-components} +## Kontrol Olunan Komponentlərə #controlled-components} -In HTML, form elements such as ``, ` ``` -In React, a ` ``` -React-də isə `