Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
cibernox committed Nov 15, 2018
1 parent c647f9b commit 4cb050d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/dummy/app/templates/public-pages/docs/how-to-use-it.hbs
@@ -1,18 +1,18 @@
<h1 class="doc-page-title">How to use it</h1>

<p>
The basic component usage is very simple. You must pass the component an <code>onchange</code> action, and either an <code>options</code>
collection and/or a <code>search</code> action. The <code>options</code> argument can be a collection of any kind, including the result of
ember-data operations like <code>.find</code> or <code>.query</code>. The component will yield each individual item in the collection to
The basic component usage is very simple. You must pass the component an <code>onchange</code> action, and either an <code>options</code>
collection and/or a <code>search</code> action. The <code>options</code> argument can be a collection of any kind, including the result of
ember-data operations like <code>.find</code> or <code>.query</code>. The component will yield each individual item in the collection to
the block to generate the list.
</p>

<p>
When you use the <code>search</code> action passing an initial set of <code>options</code> is optional.
When you use the <code>search</code> action passing an initial set of <code>options</code> is optional.
Read more about {{#link-to "public-pages.docs.the-search"}} the search{{/link-to}} action.
</p>

<p><strong>Selects in this page seem to not work. This is intended.</strong> See last paragraph.</p>
<p><strong>Selects in this page seem do not work. This is intended.</strong> See last paragraph.</p>

{{#code-example hbs="how-to-use-it-1.hbs" js="how-to-use-it-1-js.js" as |partialName|}}
{{partial partialName}}
Expand All @@ -35,7 +35,7 @@
</p>

<p>
The component expects <code>selected</code> to contain the actual selected object and not just an Id. One way to do this is to have a
The component expects <code>selected</code> to contain the actual selected object and not just an Id. One way to do this is to have a
computed property that returns the correct object based upon the Id.
</p>

Expand All @@ -44,7 +44,7 @@
{{/code-example}}

<p>
You could alternatively do this using the <code><a href="https://github.com/DockYard/ember-composable-helpers#find-by">find-by</a></code>
You could alternatively do this using the <code><a href="https://github.com/DockYard/ember-composable-helpers#find-by">find-by</a></code>
helper from the <a href="https://github.com/DockYard/ember-composable-helpers#find-by">ember-composable-helpers</a> add-on by DockYard.
</p>

Expand Down

0 comments on commit 4cb050d

Please sign in to comment.