Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Fixed incorrect syntax for custom KO checked binding #6015

Merged
merged 2 commits into from
Nov 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guides/v2.2/ui_comp_guide/concepts/magento-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ The table below shows examples of how the Knockout bindings map to their Magento
|textInput |`<input data-bind="textInput: value"/>` | `<input textInput="value"/>` |
|value |`<input data-bind="value: value"/>` | `<input ko-value="value"/>` |
|checked |`<input type="checkbox" data-bind="checked: isChecked"/>` | `<input type="checkbox" ko-checked="isChecked"/>` |
| |`<input type="radio" data-bind="value: value,checked: isSelected" />` | `<input type="radio" ko-checked="element.isSelected" ko-value="value" />` |
|checkedValue |`<input type="checkbox" data-bind="checkedValue: $data, checked: isChecked"/>` | `<input type="checkbox" checkedValue="$data" checked="isChecked"/>` |
| |`<input type="radio" data-bind="value: value, checked: isSelected" />` | `<input type="radio" ko-checked="element.isSelected" ko-value="value" />` |
|checkedValue |`<input type="checkbox" data-bind="checkedValue: $data, checked: isChecked"/>` | `<input type="checkbox" checkedValue="$data" ko-checked="isChecked"/>` |