Skip to content

Commit

Permalink
[Breaking change]
Browse files Browse the repository at this point in the history
remove bindable form attribute, as it is considered a readOnly property on HTMLSelectElement

https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
  • Loading branch information
stefanpenner committed May 20, 2015
1 parent 026b5d1 commit f0f3f28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion addon/components/x-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var isArray = Ember.isArray;
export default Ember.Component.extend({
tagName: "select",
classNameBindings: [":x-select"],
attributeBindings: ['disabled', 'tabindex', 'multiple', 'name', 'autofocus', 'form', 'required', 'size'],
attributeBindings: ['disabled', 'tabindex', 'multiple', 'name', 'autofocus', 'required', 'size'],

/**
* Bound to the `disabled` attribute on the native <select> tag.
Expand Down
3 changes: 0 additions & 3 deletions tests/acceptance/x-select-single-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ describe('XSelect: Single Selection', function() {
it('renders the name attribute', function() {
expect(this.$().attr('name')).to.equal('person-select');
});
it('renders the form attribute', function() {
expect(this.$().attr('form')).to.equal('person-form');
});
it('renders the size attribute', function() {
expect(this.$().attr('size')).to.equal('3');
});
Expand Down

0 comments on commit f0f3f28

Please sign in to comment.