Skip to content

Replace <XSelect> component with regular <select> element #2037

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

Merged
merged 3 commits into from
Dec 21, 2019

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 21, 2019

We've only been using XSelect in one specific place and v3 of the addon was causing deprecation warnings due to their use of the this.$() API.

Since we were not using any of the more advanced features from XSelect it was relatively straight-forward to replace with just a regular <select> element.

r? @locks

@@ -0,0 +1,7 @@
import { helper } from '@ember/component/helper';

Choose a reason for hiding this comment

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

it's gonna be so good to have this helper as part of the framework :)

Copy link

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

seems like a straight-forward change. interesting how XSelect was only used in one spot

@locks
Copy link
Contributor

locks commented Dec 21, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Dec 21, 2019

📌 Commit 8e1714b has been approved by locks

@bors
Copy link
Contributor

bors commented Dec 21, 2019

⌛ Testing commit 8e1714b with merge 0dcd364...

bors added a commit that referenced this pull request Dec 21, 2019
Replace `<XSelect>` component with regular `<select>` element

We've only been using `XSelect` in one specific place and v3 of the addon was causing deprecation warnings due to their use of the `this.$()` API.

Since we were not using any of the more advanced features from `XSelect` it was relatively straight-forward to replace with just a regular `<select>` element.

r? @locks
@bors
Copy link
Contributor

bors commented Dec 21, 2019

☀️ Test successful - checks-travis
Approved by: locks
Pushing 0dcd364 to master...

@bors bors merged commit 8e1714b into rust-lang:master Dec 21, 2019
@Turbo87 Turbo87 deleted the x-select branch January 3, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants