Skip to content

Commit

Permalink
chore: Update dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeemhemani committed Aug 21, 2024
1 parent aadebc0 commit 81533de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/dummy/app/components/freestyle/search.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@query={{this.query}}
@model={{this}}
@valuePath="selectedResult"
@minCharacters="0"
@minCharacters={{this.minCharacters}}
/>
</:example>

Expand Down Expand Up @@ -46,6 +46,11 @@
@value={{this.clearable}}
@onInput={{fn (mut this.clearable)}}
/>
<Args.String
@name="minCharacters"
@value={{this.minCharacters}}
@onInput={{fn (mut this.minCharacters)}}
/>

</:api>
</Freestyle::Usage>
Expand Down
3 changes: 3 additions & 0 deletions tests/dummy/app/components/freestyle/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export default class FreestyleNrgSearchComponent extends Component {
@tracked
selectedResult = null;

@tracked
minCharacters = 1;

@action
async query(queryString) {
this.queryString = queryString;
Expand Down

0 comments on commit 81533de

Please sign in to comment.