You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should first mention I am extremely new to Ember
I'm trying to include the native "disabled" attribute of a select option within the x-option.
The disabled attribute is a boolean attribute. When present, it specifies that an option should be disabled.
Actual Behavior
The native "disabled" attribute doesn't seem to be processed at all. The work around that I have is by adding a "didInsertElement" into my component js, but ideally it would be better/easier if the x-option had some kind of disabled attribute like the native HTML select does.
didInsertElement: function () { this.$('option:first').attr('disabled', true); }
Steps To Reproduce:
Create an x-select
Create an x-option and try using the native HTML select option "disabled" attribute
Version of x-select: 2.1.0
Ember Version / Ember CLI Version:
Ember Version: 2.1.0
Ember CLI Version: 1.13.13
Expected Behavior
I should first mention I am extremely new to Ember
I'm trying to include the native "disabled" attribute of a select option within the x-option.
The disabled attribute is a boolean attribute. When present, it specifies that an option should be disabled.
Actual Behavior
The native "disabled" attribute doesn't seem to be processed at all. The work around that I have is by adding a "didInsertElement" into my component js, but ideally it would be better/easier if the x-option had some kind of disabled attribute like the native HTML select does.
didInsertElement: function () { this.$('option:first').attr('disabled', true); }
Steps To Reproduce:
{{#x-option disabled value=defaultSelect}} {{defaultSelect}} {{/x-option}}
The text was updated successfully, but these errors were encountered: