testfields.v4.ts 730 B

123456789101112131415161718192021222324252627282930313233
  1. // ---------------------------------------------------------------------------------------------------------------------
  2. // TESTS: Lazy combination of Automatic MetaData with Extra MetaData
  3. // ---------------------------------------------------------------------------------------------------------------------
  4. const model = {
  5. a: 'Value 1',
  6. b: 'Value 2',
  7. c: 'Maybe',
  8. d: {
  9. e: 444,
  10. f: 555,
  11. g: {
  12. h: true,
  13. i: false
  14. }
  15. },
  16. z: 'THE END'
  17. };
  18. const meta = {
  19. b: { type: 'checkbutton' },
  20. c: { label: 'Property Three', type: 'radio', options: ['Yes', 'No', 'Maybe'], horizontal: 1 },
  21. d: {
  22. meta: {
  23. e: { type: 'radio', 'label': 'Does it work yet?' },
  24. f: { type: 'datepicker' }
  25. }
  26. }
  27. };
  28. export { model, meta };