Skip to content

Commit

Permalink
Version 2.1.3
Browse files Browse the repository at this point in the history
Fix:
- Fixed the order of the form fields in Firefox.
  • Loading branch information
devtronic committed Jul 2, 2021
1 parent 284b42f commit 918eb39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.1.3

Fix:
- Fixed the order of the form fields in Firefox.

## 2.1.2

Change:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "git"
},
"license": "MIT",
"version": "2.1.2",
"version": "2.1.3",
"peerDependencies": {
"@angular/common": "^7.2.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"@angular/core": "^7.2.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
Expand Down
5 changes: 1 addition & 4 deletions src/lib/abstract-form-group/abstract-form-group.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {AbstractFormFieldComponent} from '../abstract-form-field/abstract-form-field.component';
import {AbstractGroupType, IGroupTypeOptions} from '../form-type/abstract-group-type';
import {KeyValue} from '@angular/common';
import {AbstractLayoutType} from '../form-type/abstract-layout-type';
import {ChangeDetectorRef, ComponentFactoryResolver, Directive, Injectable, Input, QueryList, ViewChildren} from '@angular/core';
import {OnChanges, SimpleChanges} from '@angular/core';
Expand Down Expand Up @@ -170,7 +169,5 @@ export abstract class AbstractFormGroupComponent<FormType extends AbstractGroupT
}

// noinspection JSUnusedGlobalSymbols
public orderAsGiven(a: KeyValue<string, any>, b: KeyValue<string, any>): number {
return a || b ? 1 : 0;
}
public orderAsGiven = (_: any, __: any): number => 0;
}

0 comments on commit 918eb39

Please sign in to comment.