Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support passing HTML attributes to <PowerSelect> #89

Merged
merged 1 commit into from
Sep 13, 2019

Conversation

jelhan
Copy link
Collaborator

@jelhan jelhan commented Sep 10, 2019

No description provided.

{{#if @optionLabelPath}}
{{get item @optionLabelPath}}
{{#let (component this.powerSelectComponent) as |PowerSelect|}}
<PowerSelect
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach was discussed here: emberjs/rfcs#497

@@ -120,11 +120,22 @@ module('Integration | Component | bs form/element/control/power select', functio
await render(hbs`
<BsForm @model={{this}} as |form|>
<form.element @controlType="power-select" @property="prop2" @options={{options}} @placeholder="something" as |el|>
{{el.control searchEnabled=false triggerClass='form-control' }}
<el.control @searchEnabled={{false}} @triggerClass="form-control" />
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really related to this PR but missed in #86.

Copy link
Contributor

@simonihmig simonihmig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jelhan jelhan merged commit 54a95a1 into ember-bootstrap:master Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants