Add new element TextFieldSimple
This is a native input element which is used in cloze elements. Here (sub)elements need to be positioned inline, which is hard to do with material components. Also add a method to all form elements to set their form value, which is now only used by the simple text field but may be useful for other elements, which don't integrate in material form fields.
Showing
- projects/common/element-components/compound-elements/cloze.component.ts 2 additions, 2 deletions...n/element-components/compound-elements/cloze.component.ts
- projects/common/element-components/text-field-simple.component.ts 17 additions, 0 deletions.../common/element-components/text-field-simple.component.ts
- projects/common/form-element-component.directive.ts 4 additions, 0 deletionsprojects/common/form-element-component.directive.ts
- projects/common/models/compound-elements/cloze-element.ts 2 additions, 1 deletionprojects/common/models/compound-elements/cloze-element.ts
- projects/common/models/text-field-simple-element.ts 8 additions, 0 deletionsprojects/common/models/text-field-simple-element.ts
- projects/common/shared.module.ts 3 additions, 1 deletionprojects/common/shared.module.ts
Loading
Please register or sign in to comment