1.0.1 • Published 4 years ago

flexus-forms-kendo v1.0.1

Weekly downloads
7
License
-
Repository
-
Last release
4 years ago

NG Dynamic Forms Kendo UI

Installation

npm i flexus-forms/ui-kendo -S

Import

@NgModule({

    imports: [DynamicFormsKendoUIModule]
})

export class AppModule {}

Usage

with DynamicKendoFormComponent:

<form [formGroup]="myFormGroup">

    <dynamic-kendo-form [group]="myFormGroup"
                        [model]="myFormModel"></dynamic-kendo-form>
</form>

with DynamicKendoFormControlComponent:

<form [formGroup]="myFormGroup">

    <dynamic-kendo-form-control *ngFor="let controlModel of myFormModel"
                                [group]="myFormGroup"
                                [model]="controlModel"></dynamic-kendo-form-control>
</form>

Form Controls

ControlModelRequired Property
AutoCompleteDynamicInputModellist
CalendarDynamicDatepickerModelinline: true
CheckboxDynamicCheckboxModel
Checkbox GroupDynamicCheckboxGroupModel
DateInputDynamicInputModelinputType: "date"
DatePickerDynamicDatepickerModel
DropDownListDynamicSelectModel
MaskedTextBoxDynamicInputModelmask
MultiSelectDynamicSelectModelmultiple: true
NumericTextBoxDynamicInputModelinputType: "number"
Radio ButtonDynamicRadioGroupModel
SliderDynamicSliderModel
SwitchDynamicSwitchModel
TextAreaDynamicTextAreaModel
TextBoxDynamicInputModel
TimePickerDynamicTimePickerModel
UploadDynamicFileUploadModel

Custom UI Events

<form [formGroup]="myFormGroup">

    <dynamic-kendo-form [group]="myFormGroup"
                        [model]="myFormModel"
                        (kendoEvent)="onKendoEvent($event)"></dynamic-kendo-form>
</form>

Resources