12345678910111213141516 |
- // TESTS: FormBuilder FormArray's and CheckButtomGroups (with Select All / Select Non option)
- const model = {
- standardField: '',
- cbFormArray: ['A', 'B', 'C', 'D', 'E']
- };
- // Create a CB array for each member of the model
- // But when to render as a FormArray and when as a FormGroup?
- const meta = {
- standardField: { type: 'textarea' },
- cbFormArray: { type: 'CheckbuttonGroup', showAllOrNone: 1 }
- };
- export { model, meta };
|