Commit 10f78db0 authored by Emily Jensen's avatar Emily Jensen

Added option for tabIndex number

parent 60c278b7
<label
class="form-field__checkbox"
[class.form-field__checkbox--inline]="inline">
<input
[class.form-field__checkbox--inline]="inline"
>
<input
tabindex="{{tabNumber}}"
type="checkbox"
[ngrxFormControlState]="control"
class="form-field__checkbox__input"
......@@ -15,4 +17,4 @@
{{ subtext }}
</div>
</div>
</label>
\ No newline at end of file
</label>
......@@ -18,6 +18,11 @@ export class CheckboxComponent {
*/
@Input() subtext: string;
/**
* Tab index number. Optional.
*/
@Input() tabNumber: number;
/**
* If true, then the label element is intended to be an inline DOM element
* instead of a block. Not the common use case so false by default.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment