Skip to content

Commit

Permalink
Fixed #10408 - Dropdown Array Key Selection skipping last entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Jul 13, 2021
1 parent a601f1e commit 44e64df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView
let nextEnabledOption;

if (this.optionsToDisplay && this.optionsToDisplay.length) {
for (let i = (index + 1); i < (this.optionsToDisplay.length - 1); i++) {
for (let i = (index + 1); i < this.optionsToDisplay.length; i++) {
let option = this.optionsToDisplay[i];
if (this.isOptionDisabled(option)) {
continue;
Expand Down

0 comments on commit 44e64df

Please sign in to comment.