BUGFIX in ITemplateOptions definition

This commit is contained in:
WAEL BEN ZID
2015-12-16 22:55:03 +01:00
parent f7ba60bb14
commit 223687fd0d
+2 -2
View File
@@ -72,7 +72,7 @@ declare module AngularFormly {
interface ISelectOption {
name: string;
value: string;
value?: string;
group?: string;
}
@@ -110,7 +110,7 @@ declare module AngularFormly {
[key: string]: any;
// types for select/radio fields
options?: ISelectOption | any;
options?: Array<ISelectOption>;
groupProp?: string; // default: group
valueProp?: string; // default: value
labelProp?: string; // default: name