You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react-dom/components/option.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: "<option>"
4
4
5
5
<Intro>
6
6
7
-
يتيح لك [مكون الـ `<option>` المدمج في المتصفح](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option)بعرض خيارات داخل مربع[`<select>`](/reference/react-dom/components/select).
7
+
يتيح لك [مكون الـ `<option>` المدمج في المتصفح](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option)عرض خيارات داخل عنصر[`<select>`](/reference/react-dom/components/select).
8
8
9
9
```js
10
10
<select>
@@ -23,7 +23,7 @@ title: "<option>"
23
23
24
24
### `<option>` {/*option*/}
25
25
26
-
يتيح لك [مكون الـ `<option>` المدمج في المتصفح](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select)بعرض خيارات داخل مربع[`<select>`](/reference/react-dom/components/select).
26
+
يتيح لك [مكون الـ `<option>` المدمج في المتصفح](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select)عرض خيارات داخل عنصر[`<select>`](/reference/react-dom/components/select).
27
27
28
28
```js
29
29
<select>
@@ -32,7 +32,7 @@ title: "<option>"
32
32
</select>
33
33
```
34
34
35
-
[انظر الى المزيد من الأمثلة في الأسفل.](#usage)
35
+
[اطّلع على المزيد من الأمثلة في الأسفل.](#usage)
36
36
37
37
#### الخصائص {/*props*/}
38
38
@@ -42,13 +42,13 @@ title: "<option>"
42
42
43
43
*[`disabled`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#disabled): قيمة منطقية. إذا كانت `true`، فلن يكون الخيار قابلاً للتحديد وسيظهر باهت.
44
44
45
-
*[`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): نص. يحدد معنى الخيار. إذا لم يتم تحديده، فسيتم استخدام النص الموجود داخل الخيار.
45
+
*[`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): نص. يحدد معنى الخيار. إذا لم يتم تحديده، فسيتم استخدام النص الموجود داخل الخيار.
46
46
47
-
*[`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#value): القيمة التي سيتم استخدامها [عند إرسال عنصر الأب `<select>` في النموذج](/reference/react-dom/components/select#reading-the-select-box-value-when-submitting-a-form) إذا تم تحديد هذا الخيار.
47
+
*[`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#value): القيمة التي سيتم استخدامها [عند إرسال العنصر الأب `<select>` في النموذج](/reference/react-dom/components/select#reading-the-select-box-value-when-submitting-a-form) إذا تم اختيار هذا الخيار.
48
48
49
49
#### تنبيه {/*caveats*/}
50
50
51
-
* لا تدعم React سمة `selected` في `<option>`. بدلاً من ذلك ، قم بتمرير`value` هذا الخيار إلى العنصر الأب [`<select defaultValue>`](/reference/react-dom/components/select#providing-an-initially-selected-option) وذلك لمربع تحديد غير متحكم فيه، أو [`<select value>`](/reference/react-dom/components/select#controlling-a-select-box-with-a-state-variable)لمربع تحديد متحكم فيه.
51
+
* لا تدعم React سمة `selected` في `<option>`. بدلاً من ذلك، مرِّر قيمة`value` هذا الخيار إلى العنصر الأب في [`<select defaultValue>`](/reference/react-dom/components/select#providing-an-initially-selected-option)لعنصر اختيار غير متحكم فيه، أو في [`<select value>`](/reference/react-dom/components/select#controlling-a-select-box-with-a-state-variable)لمعنصر اختيار متحكم فيه.
0 commit comments