bem-contrib / bem-forms

Forms building library on BEM methogology
33 stars 18 forks source link

feat(form-field) Added generator for name, val, id, checked fields #197

Open adinvadim opened 8 years ago

awinogradov commented 8 years ago

Ok, @adinvadim where generators are? ;)

adinvadim commented 8 years ago

@awinogradov Hi!) Sory for this pause.

This PR not solve all ideas from issue, It's just a generation attributes in accordance with the documentation of bem-components. They had been generating in part, for example field name had not been generating for select and input control, but for other had.

Also I added val and checked field generator.

Generator val attribute for checkbox-group and radio-group control https://github.com/bem-contrib/bem-forms/pull/197/commits/ad0e8ba731553088b705f53f93683ed104bbe611#diff-e2b97f1f2974e5ec768fa481baca3aafR5

Generator id, val, checked for checkbox and radio https://github.com/bem-contrib/bem-forms/pull/197/commits/ad0e8ba731553088b705f53f93683ed104bbe611#diff-cb9d04658ffd846a61f6b100030bf141R5

Generator val, name, id for input control Generator name, val for select Generator val for textarea

adinvadim commented 8 years ago

Conflicts...

awinogradov commented 8 years ago

@adinvadim I believe, you can solve them all ;)