|
@@ -1,6 +1,9 @@
|
|
|
import { ValueTransformer } from './../dynaform/interfaces';
|
|
|
import * as fmd from './../dynaform/models';
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
const basicTextField = new fmd.TextField({
|
|
|
name: 'basicTextField',
|
|
|
label: 'Field One',
|
|
@@ -29,6 +32,14 @@ const selectField = new fmd.SelectField({
|
|
|
options: ['', 'Apples', 'Oranges', 'Pears', 'Gorgonzola']
|
|
|
});
|
|
|
|
|
|
+const radioField = new fmd.RadioField({
|
|
|
+ name: 'radioField',
|
|
|
+ options: ['Tea', 'Coffee', 'Cocoa', 'Yerba Maté']
|
|
|
+});
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
const checkButton = new fmd.CheckbuttonField({
|
|
|
name: 'checkButton',
|
|
|
value: '456'
|
|
@@ -72,6 +83,9 @@ const dropDownModifiedInput = new fmd.DropdownModifiedInputField({
|
|
|
transform: transformerFunctions
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
export const formMetaDataObj = {
|
|
@@ -80,6 +94,7 @@ export const formMetaDataObj = {
|
|
|
textareaField,
|
|
|
passwordField,
|
|
|
selectField,
|
|
|
+ radioField,
|
|
|
checkButton,
|
|
|
dropDownModifiedInput
|
|
|
};
|