testfields.v5.ts 765 B

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