@@ -522,35 +522,36 @@ module('Integration | Component | bs-form/element', function(hooks) {
522
522
return prev ;
523
523
} , { } ) ;
524
524
this . setProperties ( resetProps ) ;
525
- await render ( hbs `<BsForm::element @formLayout={{this.formLayout}} as |el|>
526
- <el.control
527
- name={{this.name}}
528
- required={{this.required}}
529
- readonly={{this.readonly}}
530
- placeholder={{this.placeholder}}
531
- disabled={{this.disabled}}
532
- autofocus={{this.autofocus}}
533
- size={{this.size}}
534
- tabindex={{this.tabindex}}
535
- minlength={{this.minlength}}
536
- maxlength={{this.maxlength}}
537
- min={{this.min}}
538
- max={{this.max}}
539
- pattern={{this.pattern}}
540
- accept={{this.accept}}
541
- autocomplete={{this.autocomplete}}
542
- autocapitalize={{this.autocapitalize}}
543
- autocorrect={{this.autocorrect}}
544
- autosave={{this.autosave}}
545
- inputmode={{this.inputmode}}
546
- multiple={{this.multiple}}
547
- step={{this.step}}
548
- form={{this.form}}
549
- spellcheck={{this.spellcheck}}
550
- title={{this.title}}
551
- />
525
+ await render ( hbs `
526
+ <BsForm::element @formLayout={{this.formLayout}} as |el|>
527
+ <el.control
528
+ name={{this.name}}
529
+ required={{this.required}}
530
+ readonly={{this.readonly}}
531
+ placeholder={{this.placeholder}}
532
+ disabled={{this.disabled}}
533
+ autofocus={{this.autofocus}}
534
+ size={{this.size}}
535
+ tabindex={{this.tabindex}}
536
+ minlength={{this.minlength}}
537
+ maxlength={{this.maxlength}}
538
+ min={{this.min}}
539
+ max={{this.max}}
540
+ pattern={{this.pattern}}
541
+ accept={{this.accept}}
542
+ autocomplete={{this.autocomplete}}
543
+ autocapitalize={{this.autocapitalize}}
544
+ autocorrect={{this.autocorrect}}
545
+ autosave={{this.autosave}}
546
+ inputmode={{this.inputmode}}
547
+ multiple={{this.multiple}}
548
+ step={{this.step}}
549
+ form={{this.form}}
550
+ spellcheck={{this.spellcheck}}
551
+ title={{this.title}}
552
+ />
552
553
</BsForm::element>
553
- /> ` ) ;
554
+ ` ) ;
554
555
555
556
for ( let attribute in supportedInputAttributes ) {
556
557
assert . equal ( this . element . querySelector ( 'input' ) . getAttribute ( attribute ) , undefined , `input attribute ${ attribute } is undefined [${ formLayout } ]` ) ;
@@ -613,29 +614,30 @@ module('Integration | Component | bs-form/element', function(hooks) {
613
614
return prev ;
614
615
} , { } ) ;
615
616
this . setProperties ( resetProps ) ;
616
- await render ( hbs `<BsForm::element @formLayout={{this.formLayout}} @controlType="textarea" as |el|>
617
- <el.control
618
- name={{this.name}}
619
- rows={{this.rows}}
620
- cols={{this.cols}}
621
- required={{this.required}}
622
- readonly={{this.readonly}}
623
- placeholder={{this.placeholder}}
624
- disabled={{this.disabled}}
625
- autofocus={{this.autofocus}}
626
- tabindex={{this.tabindex}}
627
- minlength={{this.minlength}}
628
- maxlength={{this.maxlength}}
629
- autocomplete={{this.autocomplete}}
630
- autocapitalize={{this.autocapitalize}}
631
- autocorrect={{this.autocorrect}}
632
- form={{this.form}}
633
- spellcheck={{this.spellcheck}}
634
- wrap={{this.wrap}}
635
- title={{this.title}}
636
- />
637
- </BsForm::element>
638
- />` ) ;
617
+ await render ( hbs `
618
+ <BsForm::element @formLayout={{this.formLayout}} @controlType="textarea" as |el|>
619
+ <el.control
620
+ name={{this.name}}
621
+ rows={{this.rows}}
622
+ cols={{this.cols}}
623
+ required={{this.required}}
624
+ readonly={{this.readonly}}
625
+ placeholder={{this.placeholder}}
626
+ disabled={{this.disabled}}
627
+ autofocus={{this.autofocus}}
628
+ tabindex={{this.tabindex}}
629
+ minlength={{this.minlength}}
630
+ maxlength={{this.maxlength}}
631
+ autocomplete={{this.autocomplete}}
632
+ autocapitalize={{this.autocapitalize}}
633
+ autocorrect={{this.autocorrect}}
634
+ form={{this.form}}
635
+ spellcheck={{this.spellcheck}}
636
+ wrap={{this.wrap}}
637
+ title={{this.title}}
638
+ />
639
+ </BsForm::element>
640
+ ` ) ;
639
641
640
642
for ( let attribute in supportedTextareaAttributes ) {
641
643
assert . equal ( this . element . querySelector ( 'textarea' ) . getAttribute ( attribute ) , undefined , `textarea attribute ${ attribute } is undefined [${ formLayout } ]` ) ;
@@ -690,18 +692,19 @@ module('Integration | Component | bs-form/element', function(hooks) {
690
692
return prev ;
691
693
} , { } ) ;
692
694
this . setProperties ( resetProps ) ;
693
- await render ( hbs `<BsForm::element @controlType="checkbox" @formLayout={{this.formLayout}} as |el|>
694
- <el.control
695
- name={{this.name}}
696
- required={{this.required}}
697
- disabled={{this.disabled}}
698
- autofocus={{this.autofocus}}
699
- tabindex={{this.tabindex}}
700
- form={{this.form}}
701
- title={{this.title}}
702
- />
703
- </BsForm::element>
704
- />` ) ;
695
+ await render ( hbs `
696
+ <BsForm::element @controlType="checkbox" @formLayout={{this.formLayout}} as |el|>
697
+ <el.control
698
+ name={{this.name}}
699
+ required={{this.required}}
700
+ disabled={{this.disabled}}
701
+ autofocus={{this.autofocus}}
702
+ tabindex={{this.tabindex}}
703
+ form={{this.form}}
704
+ title={{this.title}}
705
+ />
706
+ </BsForm::element>
707
+ ` ) ;
705
708
706
709
for ( let attribute in supportedCheckboxAttributes ) {
707
710
assert . equal ( this . element . querySelector ( 'input' ) . getAttribute ( attribute ) , undefined , `checkbox attribute ${ attribute } is undefined [${ formLayout } ]` ) ;
@@ -755,18 +758,19 @@ module('Integration | Component | bs-form/element', function(hooks) {
755
758
return prev ;
756
759
} , { } ) ;
757
760
this . setProperties ( resetProps ) ;
758
- await render ( hbs `<BsForm::element @controlType="radio" @formLayout={{this.formLayout}} @options={{this.options}} as |el|>
759
- <el.control
760
- name={{this.name}}
761
- required={{this.required}}
762
- disabled={{this.disabled}}
763
- autofocus={{this.autofocus}}
764
- tabindex={{this.tabindex}}
765
- form={{this.form}}
766
- title={{this.title}}
767
- />
761
+ await render ( hbs `
762
+ <BsForm::element @controlType="radio" @formLayout={{this.formLayout}} @options={{this.options}} as |el|>
763
+ <el.control
764
+ name={{this.name}}
765
+ required={{this.required}}
766
+ disabled={{this.disabled}}
767
+ autofocus={{this.autofocus}}
768
+ tabindex={{this.tabindex}}
769
+ form={{this.form}}
770
+ title={{this.title}}
771
+ />
768
772
</BsForm::element>
769
- /> ` ) ;
773
+ ` ) ;
770
774
771
775
for ( let attribute in supportedCheckboxAttributes ) {
772
776
assert . equal ( this . element . querySelector ( 'input' ) . getAttribute ( attribute ) , undefined , `checkbox attribute ${ attribute } is undefined [${ formLayout } ]` ) ;
0 commit comments