Skip to content
Snippets Groups Projects
Commit e84723ec authored by mathias.chouet's avatar mathias.chouet
Browse files

Fix #259 - select input text on Tab press

parent 4e5200b1
No related branches found
No related tags found
No related merge requests found
......@@ -442,8 +442,9 @@ export class GenericCalculatorComponent extends BaseComponent implements OnInit,
} else {
newIndex = (newIndex + 1) % inputs.length;
}
const elt = (inputs[newIndex] as HTMLElement);
const elt = (inputs[newIndex] as HTMLInputElement);
elt.focus();
elt.select();
}
public openHelp() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment