Two-way data binding
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- angular, javascript, react
Hướng nghiên cứu
Review the Angular, React, and Vue tutorial pages linked in the issue, then locate the existing event-binding examples in each sample app. Done means all three apps demonstrate editable text fields and a checkbox, plus a button that swaps the text values and toggles the checkbox through model-to-view updates.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Thank you for all three sample apps (angular, react, vue), really helpful in evaluations and discussions,
Would it be possible to extend all three apps, with the two-way binding, even the simplest way?
Like for example: two text fields and one checkbox, which can be edited in UI, for view to model changes.
And one button, with the click logic to swap the text fields’ bound data values and toggle the checkbox bound data value, for model to view changes?
The reason I am asking is that two-way binding looks like a kind of challenge.
You can use two-way data binding with the following components: CheckBox, RadioButton, Input, DatePicker, Switch, TextArea. In order to use it, you have to use a library called Origami ...
Data binding not mentioned at all, only event binding. There are more possibilities in React, one could be shown as example.
v-model binding doesn’t work as expected for custom elements. In order to use two way data binding, you should bind and update the value yourself like this
<ui5-input
:value="inputValue"
@input="inputValue = $event.target.value">
</ui5-input>
- Ngôn ngữ chính
- JavaScript
- Star
- 39
- Fork
- 14
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của UI5/sample-webcomponents-angular
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của UI5/sample-webcomponents-angular
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
palladius/rails8-app-on-gcp#145 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
web-platform-tests/interop#1455 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
corsairdev/corsair#1764 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100