-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature(dynamic-forms): introduction to dynamic-forms module. closes(#8) #204
Conversation
Is textarea supported now? |
It is now in beta.1. so we can include it too after #209 is merged. |
|
Note: there is a bug with the |
- upstream bug blocking it
Will form array and form group (for inputs composing ) be supported soon ? |
Can you elaborate on what you mean by form array and form group? Also, might be better to create an issue for this kinds of questions or feature requests. |
@emoralesb05 also your can check my repo with array and group components ` |
Description
Introducing new module
@covalent/dynamic-forms
module. (CovalentDynamicFormsModule
) #8<td-dynamic-forms>
Use element to generate a form dynamically.
Pass an array of javascript objects that implement [ITdDynamicElementConfig] with the information to be rendered to the [elements] attribute.
Properties:
Supported TdDynamicType
md-input-container input type="text"
)md-input-container input type="number"
)md-slide-toggle
)Supported TdDynamicElement
md-input-container input type="text"
)md-input-container textarea
)md-slider
)md-slide-toggle
)md-checkbox
)Test Steps
ng serve
npm run test
npm run tslint
npm run build
Screenshots or link to CodePen/Plunker/JSfiddle