testfields.v8.ts 429 B

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