sir-dunxalot / ember-easy-form-extensions

Manages form submission in the controller/component and route layers of Ember apps
MIT License
28 stars 14 forks source link

Adding Bootstrap 3 Classes #42

Closed dslamba closed 8 years ago

dslamba commented 9 years ago

I cannot seem to find a way to add Bootstrap 3 classes to these forms. changing className on inputgroup, does not change the input itself. There must be a way to templatize this such that a form looks like Bootstrap 3 template?

dslamba commented 9 years ago

For now I have used a workaround.

  1. Redefine the "label" class for the form. This addon adds this class to form labels but bootstrap labels have different color and font.
  2. Add custom input types for each input and add class= property for it.

Ideally, we should add a new property on input-group that passes the class down to the input-field.

sir-dunxalot commented 9 years ago

Hi,

What version of this addon and Ember are you using?

dslamba commented 9 years ago

I am on 1.0.2 for Easy Form Extensions. On 1.13.5 for Ember.

sir-dunxalot commented 8 years ago

With #48 (released as 2.0.0), form components are no longer a part of this library. Ember EasyForm has a 1.0.0.rc-1 release.