Debian Codegraph @

packages/material-ui/test/__snapshots__/Form.test.tsx.snap

raw
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`single fields checkbox field 1`] = `
4 <form
5 className="rjsf"
6 noValidate={false}
7 onSubmit={[Function]}
8 >
9 <div
10 className="form-group field field-boolean"
11 >
12 <div
13 className="MuiFormControl-root MuiFormControl-fullWidth"
14 >
15 <label
16 className="MuiFormControlLabel-root"
17 >
18 <span
19 aria-describedby="root__error root__description root__help"
20 aria-disabled={false}
21 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiCheckbox-root MuiCheckbox-colorSecondary MuiIconButton-colorSecondary"
22 onBlur={[Function]}
23 onDragLeave={[Function]}
24 onFocus={[Function]}
25 onKeyDown={[Function]}
26 onKeyUp={[Function]}
27 onMouseDown={[Function]}
28 onMouseLeave={[Function]}
29 onMouseUp={[Function]}
30 onTouchEnd={[Function]}
31 onTouchMove={[Function]}
32 onTouchStart={[Function]}
33 tabIndex={null}
34 >
35 <span
36 className="MuiIconButton-label"
37 >
38 <input
39 autoFocus={false}
40 checked={false}
41 className="PrivateSwitchBase-input-27"
42 data-indeterminate={false}
43 disabled={false}
44 id="root"
45 name="root"
46 onChange={[Function]}
47 required={false}
48 type="checkbox"
49 />
50 <svg
51 aria-hidden={true}
52 className="MuiSvgIcon-root"
53 focusable="false"
54 viewBox="0 0 24 24"
55 >
56 <path
57 d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
58 />
59 </svg>
60 </span>
61 <span
62 className="MuiTouchRipple-root"
63 />
64 </span>
65 <span
66 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
67 >
68
69 </span>
70 </label>
71 </div>
72 </div>
73 <div
74 className="MuiBox-root MuiBox-root-28"
75 >
76 <button
77 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
78 disabled={false}
79 onBlur={[Function]}
80 onDragLeave={[Function]}
81 onFocus={[Function]}
82 onKeyDown={[Function]}
83 onKeyUp={[Function]}
84 onMouseDown={[Function]}
85 onMouseLeave={[Function]}
86 onMouseUp={[Function]}
87 onTouchEnd={[Function]}
88 onTouchMove={[Function]}
89 onTouchStart={[Function]}
90 tabIndex={0}
91 type="submit"
92 >
93 <span
94 className="MuiButton-label"
95 >
96 Submit
97 </span>
98 <span
99 className="MuiTouchRipple-root"
100 />
101 </button>
102 </div>
103 </form>
104 `;
105
106 exports[`single fields checkbox field with label 1`] = `
107 <form
108 className="rjsf"
109 noValidate={false}
110 onSubmit={[Function]}
111 >
112 <div
113 className="form-group field field-boolean"
114 >
115 <div
116 className="MuiFormControl-root MuiFormControl-fullWidth"
117 >
118 <label
119 className="MuiFormControlLabel-root"
120 >
121 <span
122 aria-describedby="root__error root__description root__help"
123 aria-disabled={false}
124 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiCheckbox-root MuiCheckbox-colorSecondary MuiIconButton-colorSecondary"
125 onBlur={[Function]}
126 onDragLeave={[Function]}
127 onFocus={[Function]}
128 onKeyDown={[Function]}
129 onKeyUp={[Function]}
130 onMouseDown={[Function]}
131 onMouseLeave={[Function]}
132 onMouseUp={[Function]}
133 onTouchEnd={[Function]}
134 onTouchMove={[Function]}
135 onTouchStart={[Function]}
136 tabIndex={null}
137 >
138 <span
139 className="MuiIconButton-label"
140 >
141 <input
142 autoFocus={false}
143 checked={false}
144 className="PrivateSwitchBase-input-27"
145 data-indeterminate={false}
146 disabled={false}
147 id="root"
148 name="root"
149 onChange={[Function]}
150 required={false}
151 type="checkbox"
152 />
153 <svg
154 aria-hidden={true}
155 className="MuiSvgIcon-root"
156 focusable="false"
157 viewBox="0 0 24 24"
158 >
159 <path
160 d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
161 />
162 </svg>
163 </span>
164 </span>
165 <span
166 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
167 >
168 test
169 </span>
170 </label>
171 </div>
172 </div>
173 <div
174 className="MuiBox-root MuiBox-root-29"
175 >
176 <button
177 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
178 disabled={false}
179 onBlur={[Function]}
180 onDragLeave={[Function]}
181 onFocus={[Function]}
182 onKeyDown={[Function]}
183 onKeyUp={[Function]}
184 onMouseDown={[Function]}
185 onMouseLeave={[Function]}
186 onMouseUp={[Function]}
187 onTouchEnd={[Function]}
188 onTouchMove={[Function]}
189 onTouchStart={[Function]}
190 tabIndex={0}
191 type="submit"
192 >
193 <span
194 className="MuiButton-label"
195 >
196 Submit
197 </span>
198 </button>
199 </div>
200 </form>
201 `;
202
203 exports[`single fields checkboxes field 1`] = `
204 <form
205 className="rjsf"
206 noValidate={false}
207 onSubmit={[Function]}
208 >
209 <div
210 className="form-group field field-array"
211 >
212 <div
213 className="MuiFormControl-root MuiFormControl-fullWidth"
214 >
215 <label
216 className="MuiFormLabel-root"
217 htmlFor="root"
218 >
219 An enum list rendered as checkboxes
220 </label>
221 <div
222 className="MuiFormGroup-root"
223 id="root"
224 >
225 <label
226 className="MuiFormControlLabel-root"
227 >
228 <span
229 aria-describedby="root__error root__description root__help"
230 aria-disabled={false}
231 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiCheckbox-root MuiCheckbox-colorSecondary MuiIconButton-colorSecondary"
232 onBlur={[Function]}
233 onDragLeave={[Function]}
234 onFocus={[Function]}
235 onKeyDown={[Function]}
236 onKeyUp={[Function]}
237 onMouseDown={[Function]}
238 onMouseLeave={[Function]}
239 onMouseUp={[Function]}
240 onTouchEnd={[Function]}
241 onTouchMove={[Function]}
242 onTouchStart={[Function]}
243 tabIndex={null}
244 >
245 <span
246 className="MuiIconButton-label"
247 >
248 <input
249 autoFocus={false}
250 checked={false}
251 className="PrivateSwitchBase-input-27"
252 data-indeterminate={false}
253 disabled={false}
254 id="root-0"
255 name="root"
256 onChange={[Function]}
257 type="checkbox"
258 />
259 <svg
260 aria-hidden={true}
261 className="MuiSvgIcon-root"
262 focusable="false"
263 viewBox="0 0 24 24"
264 >
265 <path
266 d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
267 />
268 </svg>
269 </span>
270 <span
271 className="MuiTouchRipple-root"
272 />
273 </span>
274 <span
275 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
276 >
277 foo
278 </span>
279 </label>
280 <label
281 className="MuiFormControlLabel-root"
282 >
283 <span
284 aria-describedby="root__error root__description root__help"
285 aria-disabled={false}
286 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiCheckbox-root MuiCheckbox-colorSecondary MuiIconButton-colorSecondary"
287 onBlur={[Function]}
288 onDragLeave={[Function]}
289 onFocus={[Function]}
290 onKeyDown={[Function]}
291 onKeyUp={[Function]}
292 onMouseDown={[Function]}
293 onMouseLeave={[Function]}
294 onMouseUp={[Function]}
295 onTouchEnd={[Function]}
296 onTouchMove={[Function]}
297 onTouchStart={[Function]}
298 tabIndex={null}
299 >
300 <span
301 className="MuiIconButton-label"
302 >
303 <input
304 autoFocus={false}
305 checked={false}
306 className="PrivateSwitchBase-input-27"
307 data-indeterminate={false}
308 disabled={false}
309 id="root-1"
310 name="root"
311 onChange={[Function]}
312 type="checkbox"
313 />
314 <svg
315 aria-hidden={true}
316 className="MuiSvgIcon-root"
317 focusable="false"
318 viewBox="0 0 24 24"
319 >
320 <path
321 d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
322 />
323 </svg>
324 </span>
325 <span
326 className="MuiTouchRipple-root"
327 />
328 </span>
329 <span
330 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
331 >
332 bar
333 </span>
334 </label>
335 <label
336 className="MuiFormControlLabel-root"
337 >
338 <span
339 aria-describedby="root__error root__description root__help"
340 aria-disabled={false}
341 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiCheckbox-root MuiCheckbox-colorSecondary MuiIconButton-colorSecondary"
342 onBlur={[Function]}
343 onDragLeave={[Function]}
344 onFocus={[Function]}
345 onKeyDown={[Function]}
346 onKeyUp={[Function]}
347 onMouseDown={[Function]}
348 onMouseLeave={[Function]}
349 onMouseUp={[Function]}
350 onTouchEnd={[Function]}
351 onTouchMove={[Function]}
352 onTouchStart={[Function]}
353 tabIndex={null}
354 >
355 <span
356 className="MuiIconButton-label"
357 >
358 <input
359 autoFocus={false}
360 checked={false}
361 className="PrivateSwitchBase-input-27"
362 data-indeterminate={false}
363 disabled={false}
364 id="root-2"
365 name="root"
366 onChange={[Function]}
367 type="checkbox"
368 />
369 <svg
370 aria-hidden={true}
371 className="MuiSvgIcon-root"
372 focusable="false"
373 viewBox="0 0 24 24"
374 >
375 <path
376 d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
377 />
378 </svg>
379 </span>
380 <span
381 className="MuiTouchRipple-root"
382 />
383 </span>
384 <span
385 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
386 >
387 fuzz
388 </span>
389 </label>
390 <label
391 className="MuiFormControlLabel-root"
392 >
393 <span
394 aria-describedby="root__error root__description root__help"
395 aria-disabled={false}
396 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiCheckbox-root MuiCheckbox-colorSecondary MuiIconButton-colorSecondary"
397 onBlur={[Function]}
398 onDragLeave={[Function]}
399 onFocus={[Function]}
400 onKeyDown={[Function]}
401 onKeyUp={[Function]}
402 onMouseDown={[Function]}
403 onMouseLeave={[Function]}
404 onMouseUp={[Function]}
405 onTouchEnd={[Function]}
406 onTouchMove={[Function]}
407 onTouchStart={[Function]}
408 tabIndex={null}
409 >
410 <span
411 className="MuiIconButton-label"
412 >
413 <input
414 autoFocus={false}
415 checked={false}
416 className="PrivateSwitchBase-input-27"
417 data-indeterminate={false}
418 disabled={false}
419 id="root-3"
420 name="root"
421 onChange={[Function]}
422 type="checkbox"
423 />
424 <svg
425 aria-hidden={true}
426 className="MuiSvgIcon-root"
427 focusable="false"
428 viewBox="0 0 24 24"
429 >
430 <path
431 d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
432 />
433 </svg>
434 </span>
435 <span
436 className="MuiTouchRipple-root"
437 />
438 </span>
439 <span
440 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
441 >
442 qux
443 </span>
444 </label>
445 </div>
446 </div>
447 </div>
448 <div
449 className="MuiBox-root MuiBox-root-30"
450 >
451 <button
452 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
453 disabled={false}
454 onBlur={[Function]}
455 onDragLeave={[Function]}
456 onFocus={[Function]}
457 onKeyDown={[Function]}
458 onKeyUp={[Function]}
459 onMouseDown={[Function]}
460 onMouseLeave={[Function]}
461 onMouseUp={[Function]}
462 onTouchEnd={[Function]}
463 onTouchMove={[Function]}
464 onTouchStart={[Function]}
465 tabIndex={0}
466 type="submit"
467 >
468 <span
469 className="MuiButton-label"
470 >
471 Submit
472 </span>
473 <span
474 className="MuiTouchRipple-root"
475 />
476 </button>
477 </div>
478 </form>
479 `;
480
481 exports[`single fields field with description 1`] = `
482 <form
483 className="rjsf"
484 noValidate={false}
485 onSubmit={[Function]}
486 >
487 <div
488 className="form-group field field-object"
489 >
490 <div
491 className="MuiFormControl-root MuiFormControl-fullWidth"
492 >
493
494 <div
495 className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2"
496 style={
497 {
498 "marginTop": "10px",
499 }
500 }
501 >
502 <div
503 className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12"
504 style={
505 {
506 "marginBottom": "10px",
507 }
508 }
509 >
510 <div
511 className="form-group field field-string"
512 >
513 <div
514 className="MuiFormControl-root MuiFormControl-fullWidth"
515 >
516 <div
517 aria-describedby="root_my-field__error root_my-field__description root_my-field__help"
518 className="MuiFormControl-root MuiTextField-root"
519 >
520 <label
521 className="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated"
522 data-shrink={false}
523 htmlFor="root_my-field"
524 id="root_my-field-label"
525 >
526 my-field
527 </label>
528 <div
529 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
530 onClick={[Function]}
531 >
532 <input
533 aria-invalid={false}
534 autoFocus={false}
535 className="MuiInputBase-input MuiInput-input"
536 disabled={false}
537 id="root_my-field"
538 name="root_my-field"
539 onAnimationStart={[Function]}
540 onBlur={[Function]}
541 onChange={[Function]}
542 onFocus={[Function]}
543 placeholder=""
544 required={false}
545 type="text"
546 value=""
547 />
548 </div>
549 </div>
550 <span
551 className="MuiTypography-root MuiTypography-caption MuiTypography-colorTextSecondary"
552 >
553 <h6
554 className="MuiTypography-root MuiTypography-subtitle2"
555 id="root_my-field__description"
556 style={
557 {
558 "marginTop": "5px",
559 }
560 }
561 >
562 some description
563 </h6>
564 </span>
565 </div>
566 </div>
567 </div>
568 </div>
569 </div>
570 </div>
571 <div
572 className="MuiBox-root MuiBox-root-42"
573 >
574 <button
575 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
576 disabled={false}
577 onBlur={[Function]}
578 onDragLeave={[Function]}
579 onFocus={[Function]}
580 onKeyDown={[Function]}
581 onKeyUp={[Function]}
582 onMouseDown={[Function]}
583 onMouseLeave={[Function]}
584 onMouseUp={[Function]}
585 onTouchEnd={[Function]}
586 onTouchMove={[Function]}
587 onTouchStart={[Function]}
588 tabIndex={0}
589 type="submit"
590 >
591 <span
592 className="MuiButton-label"
593 >
594 Submit
595 </span>
596 <span
597 className="MuiTouchRipple-root"
598 />
599 </button>
600 </div>
601 </form>
602 `;
603
604 exports[`single fields field with description in uiSchema 1`] = `
605 <form
606 className="rjsf"
607 noValidate={false}
608 onSubmit={[Function]}
609 >
610 <div
611 className="form-group field field-object"
612 >
613 <div
614 className="MuiFormControl-root MuiFormControl-fullWidth"
615 >
616
617 <div
618 className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2"
619 style={
620 {
621 "marginTop": "10px",
622 }
623 }
624 >
625 <div
626 className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12"
627 style={
628 {
629 "marginBottom": "10px",
630 }
631 }
632 >
633 <div
634 className="form-group field field-string"
635 >
636 <div
637 className="MuiFormControl-root MuiFormControl-fullWidth"
638 >
639 <div
640 aria-describedby="root_my-field__error root_my-field__description root_my-field__help"
641 className="MuiFormControl-root MuiTextField-root"
642 >
643 <label
644 className="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated"
645 data-shrink={false}
646 htmlFor="root_my-field"
647 id="root_my-field-label"
648 >
649 my-field
650 </label>
651 <div
652 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
653 onClick={[Function]}
654 >
655 <input
656 aria-invalid={false}
657 autoFocus={false}
658 className="MuiInputBase-input MuiInput-input"
659 disabled={false}
660 id="root_my-field"
661 name="root_my-field"
662 onAnimationStart={[Function]}
663 onBlur={[Function]}
664 onChange={[Function]}
665 onFocus={[Function]}
666 placeholder=""
667 required={false}
668 type="text"
669 value=""
670 />
671 </div>
672 </div>
673 <span
674 className="MuiTypography-root MuiTypography-caption MuiTypography-colorTextSecondary"
675 >
676 <h6
677 className="MuiTypography-root MuiTypography-subtitle2"
678 id="root_my-field__description"
679 style={
680 {
681 "marginTop": "5px",
682 }
683 }
684 >
685 some other description
686 </h6>
687 </span>
688 </div>
689 </div>
690 </div>
691 </div>
692 </div>
693 </div>
694 <div
695 className="MuiBox-root MuiBox-root-43"
696 >
697 <button
698 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
699 disabled={false}
700 onBlur={[Function]}
701 onDragLeave={[Function]}
702 onFocus={[Function]}
703 onKeyDown={[Function]}
704 onKeyUp={[Function]}
705 onMouseDown={[Function]}
706 onMouseLeave={[Function]}
707 onMouseUp={[Function]}
708 onTouchEnd={[Function]}
709 onTouchMove={[Function]}
710 onTouchStart={[Function]}
711 tabIndex={0}
712 type="submit"
713 >
714 <span
715 className="MuiButton-label"
716 >
717 Submit
718 </span>
719 </button>
720 </div>
721 </form>
722 `;
723
724 exports[`single fields format color 1`] = `
725 <form
726 className="rjsf"
727 noValidate={false}
728 onSubmit={[Function]}
729 >
730 <div
731 className="form-group field field-string"
732 >
733 <div
734 className="MuiFormControl-root MuiFormControl-fullWidth"
735 >
736 <div
737 aria-describedby="root__error root__description root__help"
738 className="MuiFormControl-root MuiTextField-root"
739 >
740 <div
741 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
742 onClick={[Function]}
743 >
744 <input
745 aria-invalid={false}
746 autoFocus={false}
747 className="MuiInputBase-input MuiInput-input"
748 disabled={false}
749 id="root"
750 name="root"
751 onAnimationStart={[Function]}
752 onBlur={[Function]}
753 onChange={[Function]}
754 onFocus={[Function]}
755 placeholder=""
756 required={false}
757 type="color"
758 value=""
759 />
760 </div>
761 </div>
762 </div>
763 </div>
764 <div
765 className="MuiBox-root MuiBox-root-10"
766 >
767 <button
768 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
769 disabled={false}
770 onBlur={[Function]}
771 onDragLeave={[Function]}
772 onFocus={[Function]}
773 onKeyDown={[Function]}
774 onKeyUp={[Function]}
775 onMouseDown={[Function]}
776 onMouseLeave={[Function]}
777 onMouseUp={[Function]}
778 onTouchEnd={[Function]}
779 onTouchMove={[Function]}
780 onTouchStart={[Function]}
781 tabIndex={0}
782 type="submit"
783 >
784 <span
785 className="MuiButton-label"
786 >
787 Submit
788 </span>
789 <span
790 className="MuiTouchRipple-root"
791 />
792 </button>
793 </div>
794 </form>
795 `;
796
797 exports[`single fields format date 1`] = `
798 <form
799 className="rjsf"
800 noValidate={false}
801 onSubmit={[Function]}
802 >
803 <div
804 className="form-group field field-string"
805 >
806 <div
807 className="MuiFormControl-root MuiFormControl-fullWidth"
808 >
809 <div
810 aria-describedby="root__error root__description root__help"
811 className="MuiFormControl-root MuiTextField-root"
812 >
813 <div
814 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
815 onClick={[Function]}
816 >
817 <input
818 aria-invalid={false}
819 autoFocus={false}
820 className="MuiInputBase-input MuiInput-input"
821 disabled={false}
822 id="root"
823 name="root"
824 onAnimationStart={[Function]}
825 onBlur={[Function]}
826 onChange={[Function]}
827 onFocus={[Function]}
828 placeholder=""
829 required={false}
830 type="date"
831 value=""
832 />
833 </div>
834 </div>
835 </div>
836 </div>
837 <div
838 className="MuiBox-root MuiBox-root-11"
839 >
840 <button
841 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
842 disabled={false}
843 onBlur={[Function]}
844 onDragLeave={[Function]}
845 onFocus={[Function]}
846 onKeyDown={[Function]}
847 onKeyUp={[Function]}
848 onMouseDown={[Function]}
849 onMouseLeave={[Function]}
850 onMouseUp={[Function]}
851 onTouchEnd={[Function]}
852 onTouchMove={[Function]}
853 onTouchStart={[Function]}
854 tabIndex={0}
855 type="submit"
856 >
857 <span
858 className="MuiButton-label"
859 >
860 Submit
861 </span>
862 </button>
863 </div>
864 </form>
865 `;
866
867 exports[`single fields format datetime 1`] = `
868 <form
869 className="rjsf"
870 noValidate={false}
871 onSubmit={[Function]}
872 >
873 <div
874 className="form-group field field-string"
875 >
876 <div
877 className="MuiFormControl-root MuiFormControl-fullWidth"
878 >
879 <div
880 aria-describedby="root__error root__description root__help"
881 className="MuiFormControl-root MuiTextField-root"
882 >
883 <div
884 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
885 onClick={[Function]}
886 >
887 <input
888 aria-invalid={false}
889 autoFocus={false}
890 className="MuiInputBase-input MuiInput-input"
891 disabled={false}
892 id="root"
893 name="root"
894 onAnimationStart={[Function]}
895 onBlur={[Function]}
896 onChange={[Function]}
897 onFocus={[Function]}
898 placeholder=""
899 required={false}
900 type="datetime-local"
901 value=""
902 />
903 </div>
904 </div>
905 </div>
906 </div>
907 <div
908 className="MuiBox-root MuiBox-root-12"
909 >
910 <button
911 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
912 disabled={false}
913 onBlur={[Function]}
914 onDragLeave={[Function]}
915 onFocus={[Function]}
916 onKeyDown={[Function]}
917 onKeyUp={[Function]}
918 onMouseDown={[Function]}
919 onMouseLeave={[Function]}
920 onMouseUp={[Function]}
921 onTouchEnd={[Function]}
922 onTouchMove={[Function]}
923 onTouchStart={[Function]}
924 tabIndex={0}
925 type="submit"
926 >
927 <span
928 className="MuiButton-label"
929 >
930 Submit
931 </span>
932 <span
933 className="MuiTouchRipple-root"
934 />
935 </button>
936 </div>
937 </form>
938 `;
939
940 exports[`single fields format time 1`] = `
941 <form
942 className="rjsf"
943 noValidate={false}
944 onSubmit={[Function]}
945 >
946 <div
947 className="form-group field field-string"
948 >
949 <div
950 className="MuiFormControl-root MuiFormControl-fullWidth"
951 >
952 <div
953 aria-describedby="root__error root__description root__help"
954 className="MuiFormControl-root MuiTextField-root"
955 >
956 <div
957 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
958 onClick={[Function]}
959 >
960 <input
961 aria-invalid={false}
962 autoFocus={false}
963 className="MuiInputBase-input MuiInput-input"
964 disabled={false}
965 id="root"
966 name="root"
967 onAnimationStart={[Function]}
968 onBlur={[Function]}
969 onChange={[Function]}
970 onFocus={[Function]}
971 placeholder=""
972 required={false}
973 type="time"
974 value=""
975 />
976 </div>
977 </div>
978 </div>
979 </div>
980 <div
981 className="MuiBox-root MuiBox-root-13"
982 >
983 <button
984 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
985 disabled={false}
986 onBlur={[Function]}
987 onDragLeave={[Function]}
988 onFocus={[Function]}
989 onKeyDown={[Function]}
990 onKeyUp={[Function]}
991 onMouseDown={[Function]}
992 onMouseLeave={[Function]}
993 onMouseUp={[Function]}
994 onTouchEnd={[Function]}
995 onTouchMove={[Function]}
996 onTouchStart={[Function]}
997 tabIndex={0}
998 type="submit"
999 >
1000 <span
1001 className="MuiButton-label"
1002 >
1003 Submit
1004 </span>
1005 </button>
1006 </div>
1007 </form>
1008 `;
1009
1010 exports[`single fields help and error display 1`] = `
1011 <form
1012 className="rjsf"
1013 noValidate={false}
1014 onSubmit={[Function]}
1015 >
1016 <div
1017 className="MuiPaper-root MuiPaper-elevation2 MuiPaper-rounded"
1018 >
1019 <div
1020 className="MuiBox-root MuiBox-root-49"
1021 >
1022 <h6
1023 className="MuiTypography-root MuiTypography-h6"
1024 >
1025 Errors
1026 </h6>
1027 <ul
1028 className="MuiList-root MuiList-dense MuiList-padding"
1029 >
1030 <li
1031 className="MuiListItem-root MuiListItem-dense MuiListItem-gutters"
1032 disabled={false}
1033 >
1034 <div
1035 className="MuiListItemIcon-root"
1036 >
1037 <svg
1038 aria-hidden={true}
1039 className="MuiSvgIcon-root MuiSvgIcon-colorError"
1040 focusable="false"
1041 viewBox="0 0 24 24"
1042 >
1043 <path
1044 d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
1045 />
1046 </svg>
1047 </div>
1048 <div
1049 className="MuiListItemText-root MuiListItemText-dense"
1050 >
1051 <span
1052 className="MuiTypography-root MuiListItemText-primary MuiTypography-body2 MuiTypography-displayBlock"
1053 >
1054 . an error
1055 </span>
1056 </div>
1057 </li>
1058 </ul>
1059 </div>
1060 </div>
1061 <div
1062 className="form-group field field-string field-error has-error has-danger"
1063 >
1064 <div
1065 className="MuiFormControl-root MuiFormControl-fullWidth"
1066 >
1067 <div
1068 aria-describedby="root__error root__description root__help"
1069 className="MuiFormControl-root MuiTextField-root"
1070 >
1071 <div
1072 className="MuiInputBase-root MuiInput-root MuiInput-underline Mui-error Mui-error MuiInputBase-formControl MuiInput-formControl"
1073 onClick={[Function]}
1074 >
1075 <input
1076 aria-invalid={true}
1077 autoFocus={false}
1078 className="MuiInputBase-input MuiInput-input"
1079 disabled={false}
1080 id="root"
1081 name="root"
1082 onAnimationStart={[Function]}
1083 onBlur={[Function]}
1084 onChange={[Function]}
1085 onFocus={[Function]}
1086 placeholder=""
1087 required={false}
1088 type="text"
1089 value=""
1090 />
1091 </div>
1092 </div>
1093 <ul
1094 className="MuiList-root MuiList-dense"
1095 >
1096 <li
1097 className="MuiListItem-root MuiListItem-dense"
1098 disabled={false}
1099 >
1100 <p
1101 className="MuiFormHelperText-root Mui-error"
1102 id="root__error"
1103 >
1104 an error
1105 </p>
1106 </li>
1107 </ul>
1108 <p
1109 className="MuiFormHelperText-root Mui-error"
1110 id="root__help"
1111 >
1112 help me!
1113 </p>
1114 </div>
1115 </div>
1116 <div
1117 className="MuiBox-root MuiBox-root-50"
1118 >
1119 <button
1120 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1121 disabled={false}
1122 onBlur={[Function]}
1123 onDragLeave={[Function]}
1124 onFocus={[Function]}
1125 onKeyDown={[Function]}
1126 onKeyUp={[Function]}
1127 onMouseDown={[Function]}
1128 onMouseLeave={[Function]}
1129 onMouseUp={[Function]}
1130 onTouchEnd={[Function]}
1131 onTouchMove={[Function]}
1132 onTouchStart={[Function]}
1133 tabIndex={0}
1134 type="submit"
1135 >
1136 <span
1137 className="MuiButton-label"
1138 >
1139 Submit
1140 </span>
1141 <span
1142 className="MuiTouchRipple-root"
1143 />
1144 </button>
1145 </div>
1146 </form>
1147 `;
1148
1149 exports[`single fields hidden field 1`] = `
1150 <form
1151 className="rjsf"
1152 noValidate={false}
1153 onSubmit={[Function]}
1154 >
1155 <div
1156 className="form-group field field-object"
1157 >
1158 <div
1159 className="MuiFormControl-root MuiFormControl-fullWidth"
1160 >
1161
1162 <div
1163 className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2"
1164 style={
1165 {
1166 "marginTop": "10px",
1167 }
1168 }
1169 >
1170 <div
1171 style={
1172 {
1173 "display": "none",
1174 }
1175 }
1176 >
1177 <input
1178 id="root_my-field"
1179 name="root_my-field"
1180 type="hidden"
1181 value=""
1182 />
1183 </div>
1184 </div>
1185 </div>
1186 </div>
1187 <div
1188 className="MuiBox-root MuiBox-root-41"
1189 >
1190 <button
1191 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1192 disabled={false}
1193 onBlur={[Function]}
1194 onDragLeave={[Function]}
1195 onFocus={[Function]}
1196 onKeyDown={[Function]}
1197 onKeyUp={[Function]}
1198 onMouseDown={[Function]}
1199 onMouseLeave={[Function]}
1200 onMouseUp={[Function]}
1201 onTouchEnd={[Function]}
1202 onTouchMove={[Function]}
1203 onTouchStart={[Function]}
1204 tabIndex={0}
1205 type="submit"
1206 >
1207 <span
1208 className="MuiButton-label"
1209 >
1210 Submit
1211 </span>
1212 </button>
1213 </div>
1214 </form>
1215 `;
1216
1217 exports[`single fields hidden label 1`] = `
1218 <form
1219 className="rjsf"
1220 noValidate={false}
1221 onSubmit={[Function]}
1222 >
1223 <div
1224 className="form-group field field-string"
1225 >
1226 <div
1227 className="MuiFormControl-root MuiFormControl-fullWidth"
1228 >
1229 <div
1230 aria-describedby="root__error root__description root__help"
1231 className="MuiFormControl-root MuiTextField-root"
1232 >
1233 <div
1234 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1235 onClick={[Function]}
1236 >
1237 <input
1238 aria-invalid={false}
1239 autoFocus={false}
1240 className="MuiInputBase-input MuiInput-input"
1241 disabled={false}
1242 id="root"
1243 name="root"
1244 onAnimationStart={[Function]}
1245 onBlur={[Function]}
1246 onChange={[Function]}
1247 onFocus={[Function]}
1248 placeholder=""
1249 required={false}
1250 type="text"
1251 value=""
1252 />
1253 </div>
1254 </div>
1255 </div>
1256 </div>
1257 <div
1258 className="MuiBox-root MuiBox-root-46"
1259 >
1260 <button
1261 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1262 disabled={false}
1263 onBlur={[Function]}
1264 onDragLeave={[Function]}
1265 onFocus={[Function]}
1266 onKeyDown={[Function]}
1267 onKeyUp={[Function]}
1268 onMouseDown={[Function]}
1269 onMouseLeave={[Function]}
1270 onMouseUp={[Function]}
1271 onTouchEnd={[Function]}
1272 onTouchMove={[Function]}
1273 onTouchStart={[Function]}
1274 tabIndex={0}
1275 type="submit"
1276 >
1277 <span
1278 className="MuiButton-label"
1279 >
1280 Submit
1281 </span>
1282 </button>
1283 </div>
1284 </form>
1285 `;
1286
1287 exports[`single fields null field 1`] = `
1288 <form
1289 className="rjsf"
1290 noValidate={false}
1291 onSubmit={[Function]}
1292 >
1293 <div
1294 className="form-group field field-null"
1295 >
1296 <div
1297 className="MuiFormControl-root MuiFormControl-fullWidth"
1298 />
1299 </div>
1300 <div
1301 className="MuiBox-root MuiBox-root-8"
1302 >
1303 <button
1304 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1305 disabled={false}
1306 onBlur={[Function]}
1307 onDragLeave={[Function]}
1308 onFocus={[Function]}
1309 onKeyDown={[Function]}
1310 onKeyUp={[Function]}
1311 onMouseDown={[Function]}
1312 onMouseLeave={[Function]}
1313 onMouseUp={[Function]}
1314 onTouchEnd={[Function]}
1315 onTouchMove={[Function]}
1316 onTouchStart={[Function]}
1317 tabIndex={0}
1318 type="submit"
1319 >
1320 <span
1321 className="MuiButton-label"
1322 >
1323 Submit
1324 </span>
1325 <span
1326 className="MuiTouchRipple-root"
1327 />
1328 </button>
1329 </div>
1330 </form>
1331 `;
1332
1333 exports[`single fields number field 0 1`] = `
1334 <form
1335 className="rjsf"
1336 noValidate={false}
1337 onSubmit={[Function]}
1338 >
1339 <div
1340 className="form-group field field-number"
1341 >
1342 <div
1343 className="MuiFormControl-root MuiFormControl-fullWidth"
1344 >
1345 <div
1346 aria-describedby="root__error root__description root__help"
1347 className="MuiFormControl-root MuiTextField-root"
1348 >
1349 <div
1350 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1351 onClick={[Function]}
1352 >
1353 <input
1354 aria-invalid={false}
1355 autoFocus={false}
1356 className="MuiInputBase-input MuiInput-input"
1357 disabled={false}
1358 id="root"
1359 name="root"
1360 onAnimationStart={[Function]}
1361 onBlur={[Function]}
1362 onChange={[Function]}
1363 onFocus={[Function]}
1364 placeholder=""
1365 required={false}
1366 step="any"
1367 type="number"
1368 value={0}
1369 />
1370 </div>
1371 </div>
1372 </div>
1373 </div>
1374 <div
1375 className="MuiBox-root MuiBox-root-7"
1376 >
1377 <button
1378 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1379 disabled={false}
1380 onBlur={[Function]}
1381 onDragLeave={[Function]}
1382 onFocus={[Function]}
1383 onKeyDown={[Function]}
1384 onKeyUp={[Function]}
1385 onMouseDown={[Function]}
1386 onMouseLeave={[Function]}
1387 onMouseUp={[Function]}
1388 onTouchEnd={[Function]}
1389 onTouchMove={[Function]}
1390 onTouchStart={[Function]}
1391 tabIndex={0}
1392 type="submit"
1393 >
1394 <span
1395 className="MuiButton-label"
1396 >
1397 Submit
1398 </span>
1399 </button>
1400 </div>
1401 </form>
1402 `;
1403
1404 exports[`single fields number field 1`] = `
1405 <form
1406 className="rjsf"
1407 noValidate={false}
1408 onSubmit={[Function]}
1409 >
1410 <div
1411 className="form-group field field-number"
1412 >
1413 <div
1414 className="MuiFormControl-root MuiFormControl-fullWidth"
1415 >
1416 <div
1417 aria-describedby="root__error root__description root__help"
1418 className="MuiFormControl-root MuiTextField-root"
1419 >
1420 <div
1421 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1422 onClick={[Function]}
1423 >
1424 <input
1425 aria-invalid={false}
1426 autoFocus={false}
1427 className="MuiInputBase-input MuiInput-input"
1428 disabled={false}
1429 id="root"
1430 name="root"
1431 onAnimationStart={[Function]}
1432 onBlur={[Function]}
1433 onChange={[Function]}
1434 onFocus={[Function]}
1435 placeholder=""
1436 required={false}
1437 step="any"
1438 type="number"
1439 value=""
1440 />
1441 </div>
1442 </div>
1443 </div>
1444 </div>
1445 <div
1446 className="MuiBox-root MuiBox-root-6"
1447 >
1448 <button
1449 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1450 disabled={false}
1451 onBlur={[Function]}
1452 onDragLeave={[Function]}
1453 onFocus={[Function]}
1454 onKeyDown={[Function]}
1455 onKeyUp={[Function]}
1456 onMouseDown={[Function]}
1457 onMouseLeave={[Function]}
1458 onMouseUp={[Function]}
1459 onTouchEnd={[Function]}
1460 onTouchMove={[Function]}
1461 onTouchStart={[Function]}
1462 tabIndex={0}
1463 type="submit"
1464 >
1465 <span
1466 className="MuiButton-label"
1467 >
1468 Submit
1469 </span>
1470 <span
1471 className="MuiTouchRipple-root"
1472 />
1473 </button>
1474 </div>
1475 </form>
1476 `;
1477
1478 exports[`single fields password field 1`] = `
1479 <form
1480 className="rjsf"
1481 noValidate={false}
1482 onSubmit={[Function]}
1483 >
1484 <div
1485 className="form-group field field-string"
1486 >
1487 <div
1488 className="MuiFormControl-root MuiFormControl-fullWidth"
1489 >
1490 <div
1491 aria-describedby="root__error root__description root__help"
1492 className="MuiFormControl-root MuiTextField-root"
1493 >
1494 <div
1495 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1496 onClick={[Function]}
1497 >
1498 <input
1499 aria-invalid={false}
1500 autoFocus={false}
1501 className="MuiInputBase-input MuiInput-input"
1502 disabled={false}
1503 id="root"
1504 name="root"
1505 onAnimationStart={[Function]}
1506 onBlur={[Function]}
1507 onChange={[Function]}
1508 onFocus={[Function]}
1509 placeholder=""
1510 required={false}
1511 type="password"
1512 value=""
1513 />
1514 </div>
1515 </div>
1516 </div>
1517 </div>
1518 <div
1519 className="MuiBox-root MuiBox-root-14"
1520 >
1521 <button
1522 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1523 disabled={false}
1524 onBlur={[Function]}
1525 onDragLeave={[Function]}
1526 onFocus={[Function]}
1527 onKeyDown={[Function]}
1528 onKeyUp={[Function]}
1529 onMouseDown={[Function]}
1530 onMouseLeave={[Function]}
1531 onMouseUp={[Function]}
1532 onTouchEnd={[Function]}
1533 onTouchMove={[Function]}
1534 onTouchStart={[Function]}
1535 tabIndex={0}
1536 type="submit"
1537 >
1538 <span
1539 className="MuiButton-label"
1540 >
1541 Submit
1542 </span>
1543 <span
1544 className="MuiTouchRipple-root"
1545 />
1546 </button>
1547 </div>
1548 </form>
1549 `;
1550
1551 exports[`single fields radio field 1`] = `
1552 <form
1553 className="rjsf"
1554 noValidate={false}
1555 onSubmit={[Function]}
1556 >
1557 <div
1558 className="form-group field field-boolean"
1559 >
1560 <div
1561 className="MuiFormControl-root MuiFormControl-fullWidth"
1562 >
1563 <label
1564 className="MuiFormLabel-root"
1565 htmlFor="root"
1566 />
1567 <div
1568 aria-describedby="root__error root__description root__help"
1569 className="MuiFormGroup-root"
1570 id="root"
1571 onBlur={[Function]}
1572 onFocus={[Function]}
1573 role="radiogroup"
1574 >
1575 <label
1576 className="MuiFormControlLabel-root"
1577 >
1578 <span
1579 aria-disabled={false}
1580 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiRadio-root MuiRadio-colorPrimary MuiIconButton-colorPrimary"
1581 onBlur={[Function]}
1582 onDragLeave={[Function]}
1583 onFocus={[Function]}
1584 onKeyDown={[Function]}
1585 onKeyUp={[Function]}
1586 onMouseDown={[Function]}
1587 onMouseLeave={[Function]}
1588 onMouseUp={[Function]}
1589 onTouchEnd={[Function]}
1590 onTouchMove={[Function]}
1591 onTouchStart={[Function]}
1592 tabIndex={null}
1593 >
1594 <span
1595 className="MuiIconButton-label"
1596 >
1597 <input
1598 checked={false}
1599 className="PrivateSwitchBase-input-27"
1600 disabled={false}
1601 id="root-0"
1602 name="root"
1603 onChange={[Function]}
1604 type="radio"
1605 value="0"
1606 />
1607 <div
1608 className="PrivateRadioButtonIcon-root-31"
1609 >
1610 <svg
1611 aria-hidden={true}
1612 className="MuiSvgIcon-root"
1613 focusable="false"
1614 viewBox="0 0 24 24"
1615 >
1616 <path
1617 d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
1618 />
1619 </svg>
1620 <svg
1621 aria-hidden={true}
1622 className="MuiSvgIcon-root PrivateRadioButtonIcon-layer-32"
1623 focusable="false"
1624 viewBox="0 0 24 24"
1625 >
1626 <path
1627 d="M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
1628 />
1629 </svg>
1630 </div>
1631 </span>
1632 </span>
1633 <span
1634 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
1635 >
1636 Yes
1637 </span>
1638 </label>
1639 <label
1640 className="MuiFormControlLabel-root"
1641 >
1642 <span
1643 aria-disabled={false}
1644 className="MuiButtonBase-root MuiIconButton-root PrivateSwitchBase-root-24 MuiRadio-root MuiRadio-colorPrimary MuiIconButton-colorPrimary"
1645 onBlur={[Function]}
1646 onDragLeave={[Function]}
1647 onFocus={[Function]}
1648 onKeyDown={[Function]}
1649 onKeyUp={[Function]}
1650 onMouseDown={[Function]}
1651 onMouseLeave={[Function]}
1652 onMouseUp={[Function]}
1653 onTouchEnd={[Function]}
1654 onTouchMove={[Function]}
1655 onTouchStart={[Function]}
1656 tabIndex={null}
1657 >
1658 <span
1659 className="MuiIconButton-label"
1660 >
1661 <input
1662 checked={false}
1663 className="PrivateSwitchBase-input-27"
1664 disabled={false}
1665 id="root-1"
1666 name="root"
1667 onChange={[Function]}
1668 type="radio"
1669 value="1"
1670 />
1671 <div
1672 className="PrivateRadioButtonIcon-root-31"
1673 >
1674 <svg
1675 aria-hidden={true}
1676 className="MuiSvgIcon-root"
1677 focusable="false"
1678 viewBox="0 0 24 24"
1679 >
1680 <path
1681 d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
1682 />
1683 </svg>
1684 <svg
1685 aria-hidden={true}
1686 className="MuiSvgIcon-root PrivateRadioButtonIcon-layer-32"
1687 focusable="false"
1688 viewBox="0 0 24 24"
1689 >
1690 <path
1691 d="M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
1692 />
1693 </svg>
1694 </div>
1695 </span>
1696 </span>
1697 <span
1698 className="MuiTypography-root MuiFormControlLabel-label MuiTypography-body1"
1699 >
1700 No
1701 </span>
1702 </label>
1703 </div>
1704 </div>
1705 </div>
1706 <div
1707 className="MuiBox-root MuiBox-root-34"
1708 >
1709 <button
1710 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1711 disabled={false}
1712 onBlur={[Function]}
1713 onDragLeave={[Function]}
1714 onFocus={[Function]}
1715 onKeyDown={[Function]}
1716 onKeyUp={[Function]}
1717 onMouseDown={[Function]}
1718 onMouseLeave={[Function]}
1719 onMouseUp={[Function]}
1720 onTouchEnd={[Function]}
1721 onTouchMove={[Function]}
1722 onTouchStart={[Function]}
1723 tabIndex={0}
1724 type="submit"
1725 >
1726 <span
1727 className="MuiButton-label"
1728 >
1729 Submit
1730 </span>
1731 </button>
1732 </div>
1733 </form>
1734 `;
1735
1736 exports[`single fields schema examples 1`] = `
1737 <form
1738 className="rjsf"
1739 noValidate={false}
1740 onSubmit={[Function]}
1741 >
1742 <div
1743 className="form-group field field-string"
1744 >
1745 <div
1746 className="MuiFormControl-root MuiFormControl-fullWidth"
1747 >
1748 <div
1749 aria-describedby="root__error root__description root__help root__examples"
1750 className="MuiFormControl-root MuiTextField-root"
1751 >
1752 <div
1753 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1754 onClick={[Function]}
1755 >
1756 <input
1757 aria-invalid={false}
1758 autoFocus={false}
1759 className="MuiInputBase-input MuiInput-input"
1760 disabled={false}
1761 id="root"
1762 list="root__examples"
1763 name="root"
1764 onAnimationStart={[Function]}
1765 onBlur={[Function]}
1766 onChange={[Function]}
1767 onFocus={[Function]}
1768 placeholder=""
1769 required={false}
1770 type="text"
1771 value=""
1772 />
1773 </div>
1774 </div>
1775 <datalist
1776 id="root__examples"
1777 >
1778 <option
1779 value="Firefox"
1780 />
1781 <option
1782 value="Chrome"
1783 />
1784 <option
1785 value="Opera"
1786 />
1787 <option
1788 value="Vivaldi"
1789 />
1790 <option
1791 value="Safari"
1792 />
1793 </datalist>
1794 </div>
1795 </div>
1796 <div
1797 className="MuiBox-root MuiBox-root-48"
1798 >
1799 <button
1800 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1801 disabled={false}
1802 onBlur={[Function]}
1803 onDragLeave={[Function]}
1804 onFocus={[Function]}
1805 onKeyDown={[Function]}
1806 onKeyUp={[Function]}
1807 onMouseDown={[Function]}
1808 onMouseLeave={[Function]}
1809 onMouseUp={[Function]}
1810 onTouchEnd={[Function]}
1811 onTouchMove={[Function]}
1812 onTouchStart={[Function]}
1813 tabIndex={0}
1814 type="submit"
1815 >
1816 <span
1817 className="MuiButton-label"
1818 >
1819 Submit
1820 </span>
1821 </button>
1822 </div>
1823 </form>
1824 `;
1825
1826 exports[`single fields select field 1`] = `
1827 <form
1828 className="rjsf"
1829 noValidate={false}
1830 onSubmit={[Function]}
1831 >
1832 <div
1833 className="form-group field field-string"
1834 >
1835 <div
1836 className="MuiFormControl-root MuiFormControl-fullWidth"
1837 >
1838 <div
1839 aria-describedby="root__error root__description root__help"
1840 className="MuiFormControl-root MuiTextField-root"
1841 >
1842 <div
1843 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1844 onClick={[Function]}
1845 >
1846 <div
1847 aria-haspopup="listbox"
1848 aria-labelledby="root"
1849 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
1850 id="root"
1851 onBlur={[Function]}
1852 onFocus={[Function]}
1853 onKeyDown={[Function]}
1854 onMouseDown={[Function]}
1855 role="button"
1856 tabIndex={0}
1857 >
1858 <span
1859 dangerouslySetInnerHTML={
1860 {
1861 "__html": "&#8203;",
1862 }
1863 }
1864 />
1865 </div>
1866 <input
1867 aria-hidden={true}
1868 autoFocus={false}
1869 className="MuiSelect-nativeInput"
1870 name="root"
1871 onAnimationStart={[Function]}
1872 onChange={[Function]}
1873 placeholder=""
1874 required={false}
1875 tabIndex={-1}
1876 value=""
1877 />
1878 <svg
1879 aria-hidden={true}
1880 className="MuiSvgIcon-root MuiSelect-icon"
1881 focusable="false"
1882 viewBox="0 0 24 24"
1883 >
1884 <path
1885 d="M7 10l5 5 5-5z"
1886 />
1887 </svg>
1888 </div>
1889 </div>
1890 </div>
1891 </div>
1892 <div
1893 className="MuiBox-root MuiBox-root-17"
1894 >
1895 <button
1896 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1897 disabled={false}
1898 onBlur={[Function]}
1899 onDragLeave={[Function]}
1900 onFocus={[Function]}
1901 onKeyDown={[Function]}
1902 onKeyUp={[Function]}
1903 onMouseDown={[Function]}
1904 onMouseLeave={[Function]}
1905 onMouseUp={[Function]}
1906 onTouchEnd={[Function]}
1907 onTouchMove={[Function]}
1908 onTouchStart={[Function]}
1909 tabIndex={0}
1910 type="submit"
1911 >
1912 <span
1913 className="MuiButton-label"
1914 >
1915 Submit
1916 </span>
1917 </button>
1918 </div>
1919 </form>
1920 `;
1921
1922 exports[`single fields select field multiple choice 1`] = `
1923 <form
1924 className="rjsf"
1925 noValidate={false}
1926 onSubmit={[Function]}
1927 >
1928 <div
1929 className="form-group field field-array"
1930 >
1931 <div
1932 className="MuiFormControl-root MuiFormControl-fullWidth"
1933 >
1934 <div
1935 aria-describedby="root__error root__description root__help"
1936 className="MuiFormControl-root MuiTextField-root"
1937 >
1938 <div
1939 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
1940 onClick={[Function]}
1941 >
1942 <div
1943 aria-haspopup="listbox"
1944 aria-labelledby="root"
1945 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
1946 id="root"
1947 onBlur={[Function]}
1948 onFocus={[Function]}
1949 onKeyDown={[Function]}
1950 onMouseDown={[Function]}
1951 role="button"
1952 tabIndex={0}
1953 >
1954 <span
1955 dangerouslySetInnerHTML={
1956 {
1957 "__html": "&#8203;",
1958 }
1959 }
1960 />
1961 </div>
1962 <input
1963 aria-hidden={true}
1964 autoFocus={false}
1965 className="MuiSelect-nativeInput"
1966 name="root"
1967 onAnimationStart={[Function]}
1968 onChange={[Function]}
1969 required={false}
1970 tabIndex={-1}
1971 value=""
1972 />
1973 <svg
1974 aria-hidden={true}
1975 className="MuiSvgIcon-root MuiSelect-icon"
1976 focusable="false"
1977 viewBox="0 0 24 24"
1978 >
1979 <path
1980 d="M7 10l5 5 5-5z"
1981 />
1982 </svg>
1983 </div>
1984 </div>
1985 </div>
1986 </div>
1987 <div
1988 className="MuiBox-root MuiBox-root-18"
1989 >
1990 <button
1991 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
1992 disabled={false}
1993 onBlur={[Function]}
1994 onDragLeave={[Function]}
1995 onFocus={[Function]}
1996 onKeyDown={[Function]}
1997 onKeyUp={[Function]}
1998 onMouseDown={[Function]}
1999 onMouseLeave={[Function]}
2000 onMouseUp={[Function]}
2001 onTouchEnd={[Function]}
2002 onTouchMove={[Function]}
2003 onTouchStart={[Function]}
2004 tabIndex={0}
2005 type="submit"
2006 >
2007 <span
2008 className="MuiButton-label"
2009 >
2010 Submit
2011 </span>
2012 <span
2013 className="MuiTouchRipple-root"
2014 />
2015 </button>
2016 </div>
2017 </form>
2018 `;
2019
2020 exports[`single fields select field multiple choice enumDisabled 1`] = `
2021 <form
2022 className="rjsf"
2023 noValidate={false}
2024 onSubmit={[Function]}
2025 >
2026 <div
2027 className="form-group field field-array"
2028 >
2029 <div
2030 className="MuiFormControl-root MuiFormControl-fullWidth"
2031 >
2032 <div
2033 aria-describedby="root__error root__description root__help"
2034 className="MuiFormControl-root MuiTextField-root"
2035 >
2036 <div
2037 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2038 onClick={[Function]}
2039 >
2040 <div
2041 aria-haspopup="listbox"
2042 aria-labelledby="root"
2043 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
2044 id="root"
2045 onBlur={[Function]}
2046 onFocus={[Function]}
2047 onKeyDown={[Function]}
2048 onMouseDown={[Function]}
2049 role="button"
2050 tabIndex={0}
2051 >
2052 <span
2053 dangerouslySetInnerHTML={
2054 {
2055 "__html": "&#8203;",
2056 }
2057 }
2058 />
2059 </div>
2060 <input
2061 aria-hidden={true}
2062 autoFocus={false}
2063 className="MuiSelect-nativeInput"
2064 name="root"
2065 onAnimationStart={[Function]}
2066 onChange={[Function]}
2067 required={false}
2068 tabIndex={-1}
2069 value=""
2070 />
2071 <svg
2072 aria-hidden={true}
2073 className="MuiSvgIcon-root MuiSelect-icon"
2074 focusable="false"
2075 viewBox="0 0 24 24"
2076 >
2077 <path
2078 d="M7 10l5 5 5-5z"
2079 />
2080 </svg>
2081 </div>
2082 </div>
2083 </div>
2084 </div>
2085 <div
2086 className="MuiBox-root MuiBox-root-21"
2087 >
2088 <button
2089 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2090 disabled={false}
2091 onBlur={[Function]}
2092 onDragLeave={[Function]}
2093 onFocus={[Function]}
2094 onKeyDown={[Function]}
2095 onKeyUp={[Function]}
2096 onMouseDown={[Function]}
2097 onMouseLeave={[Function]}
2098 onMouseUp={[Function]}
2099 onTouchEnd={[Function]}
2100 onTouchMove={[Function]}
2101 onTouchStart={[Function]}
2102 tabIndex={0}
2103 type="submit"
2104 >
2105 <span
2106 className="MuiButton-label"
2107 >
2108 Submit
2109 </span>
2110 </button>
2111 </div>
2112 </form>
2113 `;
2114
2115 exports[`single fields select field multiple choice formData 1`] = `
2116 <form
2117 className="rjsf"
2118 noValidate={false}
2119 onSubmit={[Function]}
2120 >
2121 <div
2122 className="form-group field field-array"
2123 >
2124 <div
2125 className="MuiFormControl-root MuiFormControl-fullWidth"
2126 >
2127 <div
2128 aria-describedby="root__error root__description root__help"
2129 className="MuiFormControl-root MuiTextField-root"
2130 >
2131 <div
2132 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2133 onClick={[Function]}
2134 >
2135 <div
2136 aria-haspopup="listbox"
2137 aria-labelledby="root"
2138 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
2139 id="root"
2140 onBlur={[Function]}
2141 onFocus={[Function]}
2142 onKeyDown={[Function]}
2143 onMouseDown={[Function]}
2144 role="button"
2145 tabIndex={0}
2146 >
2147 foo, bar
2148 </div>
2149 <input
2150 aria-hidden={true}
2151 autoFocus={false}
2152 className="MuiSelect-nativeInput"
2153 name="root"
2154 onAnimationStart={[Function]}
2155 onChange={[Function]}
2156 required={false}
2157 tabIndex={-1}
2158 value="0,1"
2159 />
2160 <svg
2161 aria-hidden={true}
2162 className="MuiSvgIcon-root MuiSelect-icon"
2163 focusable="false"
2164 viewBox="0 0 24 24"
2165 >
2166 <path
2167 d="M7 10l5 5 5-5z"
2168 />
2169 </svg>
2170 </div>
2171 </div>
2172 </div>
2173 </div>
2174 <div
2175 className="MuiBox-root MuiBox-root-23"
2176 >
2177 <button
2178 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2179 disabled={false}
2180 onBlur={[Function]}
2181 onDragLeave={[Function]}
2182 onFocus={[Function]}
2183 onKeyDown={[Function]}
2184 onKeyUp={[Function]}
2185 onMouseDown={[Function]}
2186 onMouseLeave={[Function]}
2187 onMouseUp={[Function]}
2188 onTouchEnd={[Function]}
2189 onTouchMove={[Function]}
2190 onTouchStart={[Function]}
2191 tabIndex={0}
2192 type="submit"
2193 >
2194 <span
2195 className="MuiButton-label"
2196 >
2197 Submit
2198 </span>
2199 </button>
2200 </div>
2201 </form>
2202 `;
2203
2204 exports[`single fields select field multiple choice with labels 1`] = `
2205 <form
2206 className="rjsf"
2207 noValidate={false}
2208 onSubmit={[Function]}
2209 >
2210 <div
2211 className="form-group field field-array"
2212 >
2213 <div
2214 className="MuiFormControl-root MuiFormControl-fullWidth"
2215 >
2216 <div
2217 aria-describedby="root__error root__description root__help"
2218 className="MuiFormControl-root MuiTextField-root"
2219 >
2220 <div
2221 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2222 onClick={[Function]}
2223 >
2224 <div
2225 aria-haspopup="listbox"
2226 aria-labelledby="root"
2227 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
2228 id="root"
2229 onBlur={[Function]}
2230 onFocus={[Function]}
2231 onKeyDown={[Function]}
2232 onMouseDown={[Function]}
2233 role="button"
2234 tabIndex={0}
2235 >
2236 <span
2237 dangerouslySetInnerHTML={
2238 {
2239 "__html": "&#8203;",
2240 }
2241 }
2242 />
2243 </div>
2244 <input
2245 aria-hidden={true}
2246 autoFocus={false}
2247 className="MuiSelect-nativeInput"
2248 name="root"
2249 onAnimationStart={[Function]}
2250 onChange={[Function]}
2251 required={false}
2252 tabIndex={-1}
2253 value=""
2254 />
2255 <svg
2256 aria-hidden={true}
2257 className="MuiSvgIcon-root MuiSelect-icon"
2258 focusable="false"
2259 viewBox="0 0 24 24"
2260 >
2261 <path
2262 d="M7 10l5 5 5-5z"
2263 />
2264 </svg>
2265 </div>
2266 </div>
2267 </div>
2268 </div>
2269 <div
2270 className="MuiBox-root MuiBox-root-19"
2271 >
2272 <button
2273 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2274 disabled={false}
2275 onBlur={[Function]}
2276 onDragLeave={[Function]}
2277 onFocus={[Function]}
2278 onKeyDown={[Function]}
2279 onKeyUp={[Function]}
2280 onMouseDown={[Function]}
2281 onMouseLeave={[Function]}
2282 onMouseUp={[Function]}
2283 onTouchEnd={[Function]}
2284 onTouchMove={[Function]}
2285 onTouchStart={[Function]}
2286 tabIndex={0}
2287 type="submit"
2288 >
2289 <span
2290 className="MuiButton-label"
2291 >
2292 Submit
2293 </span>
2294 </button>
2295 </div>
2296 </form>
2297 `;
2298
2299 exports[`single fields select field single choice enumDisabled 1`] = `
2300 <form
2301 className="rjsf"
2302 noValidate={false}
2303 onSubmit={[Function]}
2304 >
2305 <div
2306 className="form-group field field-string"
2307 >
2308 <div
2309 className="MuiFormControl-root MuiFormControl-fullWidth"
2310 >
2311 <div
2312 aria-describedby="root__error root__description root__help"
2313 className="MuiFormControl-root MuiTextField-root"
2314 >
2315 <div
2316 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2317 onClick={[Function]}
2318 >
2319 <div
2320 aria-haspopup="listbox"
2321 aria-labelledby="root"
2322 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
2323 id="root"
2324 onBlur={[Function]}
2325 onFocus={[Function]}
2326 onKeyDown={[Function]}
2327 onMouseDown={[Function]}
2328 role="button"
2329 tabIndex={0}
2330 >
2331 <span
2332 dangerouslySetInnerHTML={
2333 {
2334 "__html": "&#8203;",
2335 }
2336 }
2337 />
2338 </div>
2339 <input
2340 aria-hidden={true}
2341 autoFocus={false}
2342 className="MuiSelect-nativeInput"
2343 name="root"
2344 onAnimationStart={[Function]}
2345 onChange={[Function]}
2346 placeholder=""
2347 required={false}
2348 tabIndex={-1}
2349 value=""
2350 />
2351 <svg
2352 aria-hidden={true}
2353 className="MuiSvgIcon-root MuiSelect-icon"
2354 focusable="false"
2355 viewBox="0 0 24 24"
2356 >
2357 <path
2358 d="M7 10l5 5 5-5z"
2359 />
2360 </svg>
2361 </div>
2362 </div>
2363 </div>
2364 </div>
2365 <div
2366 className="MuiBox-root MuiBox-root-20"
2367 >
2368 <button
2369 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2370 disabled={false}
2371 onBlur={[Function]}
2372 onDragLeave={[Function]}
2373 onFocus={[Function]}
2374 onKeyDown={[Function]}
2375 onKeyUp={[Function]}
2376 onMouseDown={[Function]}
2377 onMouseLeave={[Function]}
2378 onMouseUp={[Function]}
2379 onTouchEnd={[Function]}
2380 onTouchMove={[Function]}
2381 onTouchStart={[Function]}
2382 tabIndex={0}
2383 type="submit"
2384 >
2385 <span
2386 className="MuiButton-label"
2387 >
2388 Submit
2389 </span>
2390 <span
2391 className="MuiTouchRipple-root"
2392 />
2393 </button>
2394 </div>
2395 </form>
2396 `;
2397
2398 exports[`single fields select field single choice formData 1`] = `
2399 <form
2400 className="rjsf"
2401 noValidate={false}
2402 onSubmit={[Function]}
2403 >
2404 <div
2405 className="form-group field field-string"
2406 >
2407 <div
2408 className="MuiFormControl-root MuiFormControl-fullWidth"
2409 >
2410 <div
2411 aria-describedby="root__error root__description root__help"
2412 className="MuiFormControl-root MuiTextField-root"
2413 >
2414 <div
2415 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2416 onClick={[Function]}
2417 >
2418 <div
2419 aria-haspopup="listbox"
2420 aria-labelledby="root"
2421 className="MuiSelect-root MuiSelect-select MuiSelect-selectMenu MuiInputBase-input MuiInput-input"
2422 id="root"
2423 onBlur={[Function]}
2424 onFocus={[Function]}
2425 onKeyDown={[Function]}
2426 onMouseDown={[Function]}
2427 role="button"
2428 tabIndex={0}
2429 >
2430 bar
2431 </div>
2432 <input
2433 aria-hidden={true}
2434 autoFocus={false}
2435 className="MuiSelect-nativeInput"
2436 name="root"
2437 onAnimationStart={[Function]}
2438 onChange={[Function]}
2439 placeholder=""
2440 required={false}
2441 tabIndex={-1}
2442 value="1"
2443 />
2444 <svg
2445 aria-hidden={true}
2446 className="MuiSvgIcon-root MuiSelect-icon"
2447 focusable="false"
2448 viewBox="0 0 24 24"
2449 >
2450 <path
2451 d="M7 10l5 5 5-5z"
2452 />
2453 </svg>
2454 </div>
2455 </div>
2456 </div>
2457 </div>
2458 <div
2459 className="MuiBox-root MuiBox-root-22"
2460 >
2461 <button
2462 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2463 disabled={false}
2464 onBlur={[Function]}
2465 onDragLeave={[Function]}
2466 onFocus={[Function]}
2467 onKeyDown={[Function]}
2468 onKeyUp={[Function]}
2469 onMouseDown={[Function]}
2470 onMouseLeave={[Function]}
2471 onMouseUp={[Function]}
2472 onTouchEnd={[Function]}
2473 onTouchMove={[Function]}
2474 onTouchStart={[Function]}
2475 tabIndex={0}
2476 type="submit"
2477 >
2478 <span
2479 className="MuiButton-label"
2480 >
2481 Submit
2482 </span>
2483 <span
2484 className="MuiTouchRipple-root"
2485 />
2486 </button>
2487 </div>
2488 </form>
2489 `;
2490
2491 exports[`single fields slider field 1`] = `
2492 <form
2493 className="rjsf"
2494 noValidate={false}
2495 onSubmit={[Function]}
2496 >
2497 <div
2498 className="form-group field field-integer"
2499 >
2500 <div
2501 className="MuiFormControl-root MuiFormControl-fullWidth"
2502 >
2503 <label
2504 className="MuiFormLabel-root"
2505 htmlFor="root"
2506 />
2507 <span
2508 aria-describedby="root__error root__description root__help"
2509 className="MuiSlider-root MuiSlider-colorPrimary"
2510 id="root"
2511 label=""
2512 onBlur={[Function]}
2513 onFocus={[Function]}
2514 onMouseDown={[Function]}
2515 >
2516 <span
2517 className="MuiSlider-rail"
2518 />
2519 <span
2520 className="MuiSlider-track"
2521 style={
2522 {
2523 "left": "0%",
2524 "width": "56.89655172413793%",
2525 }
2526 }
2527 />
2528 <input
2529 name="root"
2530 type="hidden"
2531 value="75"
2532 />
2533 <span
2534 aria-orientation="horizontal"
2535 aria-valuemax={100}
2536 aria-valuemin={42}
2537 aria-valuenow={75}
2538 className="MuiSlider-thumb MuiSlider-thumbColorPrimary PrivateValueLabel-thumb-35"
2539 data-index={0}
2540 onBlur={[Function]}
2541 onFocus={[Function]}
2542 onKeyDown={[Function]}
2543 onMouseLeave={[Function]}
2544 onMouseOver={[Function]}
2545 role="slider"
2546 style={
2547 {
2548 "left": "56.89655172413793%",
2549 }
2550 }
2551 tabIndex={0}
2552 >
2553 <span
2554 className="PrivateValueLabel-offset-37 MuiSlider-valueLabel"
2555 >
2556 <span
2557 className="PrivateValueLabel-circle-38"
2558 >
2559 <span
2560 className="PrivateValueLabel-label-39"
2561 >
2562 75
2563 </span>
2564 </span>
2565 </span>
2566 </span>
2567 </span>
2568 </div>
2569 </div>
2570 <div
2571 className="MuiBox-root MuiBox-root-40"
2572 >
2573 <button
2574 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2575 disabled={false}
2576 onBlur={[Function]}
2577 onDragLeave={[Function]}
2578 onFocus={[Function]}
2579 onKeyDown={[Function]}
2580 onKeyUp={[Function]}
2581 onMouseDown={[Function]}
2582 onMouseLeave={[Function]}
2583 onMouseUp={[Function]}
2584 onTouchEnd={[Function]}
2585 onTouchMove={[Function]}
2586 onTouchStart={[Function]}
2587 tabIndex={0}
2588 type="submit"
2589 >
2590 <span
2591 className="MuiButton-label"
2592 >
2593 Submit
2594 </span>
2595 <span
2596 className="MuiTouchRipple-root"
2597 />
2598 </button>
2599 </div>
2600 </form>
2601 `;
2602
2603 exports[`single fields string field format data-url 1`] = `
2604 <form
2605 className="rjsf"
2606 noValidate={false}
2607 onSubmit={[Function]}
2608 >
2609 <div
2610 className="form-group field field-string"
2611 >
2612 <div
2613 className="MuiFormControl-root MuiFormControl-fullWidth"
2614 >
2615 <div>
2616 <div
2617 aria-describedby="root__error root__description root__help"
2618 className="MuiFormControl-root MuiTextField-root"
2619 >
2620 <div
2621 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2622 onClick={[Function]}
2623 >
2624 <input
2625 aria-invalid={false}
2626 autoFocus={false}
2627 className="MuiInputBase-input MuiInput-input"
2628 disabled={false}
2629 id="root"
2630 name="root"
2631 onAnimationStart={[Function]}
2632 onBlur={[Function]}
2633 onChange={[Function]}
2634 onFocus={[Function]}
2635 placeholder=""
2636 required={false}
2637 type="file"
2638 value=""
2639 />
2640 </div>
2641 </div>
2642 </div>
2643 </div>
2644 </div>
2645 <div
2646 className="MuiBox-root MuiBox-root-4"
2647 >
2648 <button
2649 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2650 disabled={false}
2651 onBlur={[Function]}
2652 onDragLeave={[Function]}
2653 onFocus={[Function]}
2654 onKeyDown={[Function]}
2655 onKeyUp={[Function]}
2656 onMouseDown={[Function]}
2657 onMouseLeave={[Function]}
2658 onMouseUp={[Function]}
2659 onTouchEnd={[Function]}
2660 onTouchMove={[Function]}
2661 onTouchStart={[Function]}
2662 tabIndex={0}
2663 type="submit"
2664 >
2665 <span
2666 className="MuiButton-label"
2667 >
2668 Submit
2669 </span>
2670 <span
2671 className="MuiTouchRipple-root"
2672 />
2673 </button>
2674 </div>
2675 </form>
2676 `;
2677
2678 exports[`single fields string field format email 1`] = `
2679 <form
2680 className="rjsf"
2681 noValidate={false}
2682 onSubmit={[Function]}
2683 >
2684 <div
2685 className="form-group field field-string"
2686 >
2687 <div
2688 className="MuiFormControl-root MuiFormControl-fullWidth"
2689 >
2690 <div
2691 aria-describedby="root__error root__description root__help"
2692 className="MuiFormControl-root MuiTextField-root"
2693 >
2694 <div
2695 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2696 onClick={[Function]}
2697 >
2698 <input
2699 aria-invalid={false}
2700 autoFocus={false}
2701 className="MuiInputBase-input MuiInput-input"
2702 disabled={false}
2703 id="root"
2704 name="root"
2705 onAnimationStart={[Function]}
2706 onBlur={[Function]}
2707 onChange={[Function]}
2708 onFocus={[Function]}
2709 placeholder=""
2710 required={false}
2711 type="email"
2712 value=""
2713 />
2714 </div>
2715 </div>
2716 </div>
2717 </div>
2718 <div
2719 className="MuiBox-root MuiBox-root-2"
2720 >
2721 <button
2722 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2723 disabled={false}
2724 onBlur={[Function]}
2725 onDragLeave={[Function]}
2726 onFocus={[Function]}
2727 onKeyDown={[Function]}
2728 onKeyUp={[Function]}
2729 onMouseDown={[Function]}
2730 onMouseLeave={[Function]}
2731 onMouseUp={[Function]}
2732 onTouchEnd={[Function]}
2733 onTouchMove={[Function]}
2734 onTouchStart={[Function]}
2735 tabIndex={0}
2736 type="submit"
2737 >
2738 <span
2739 className="MuiButton-label"
2740 >
2741 Submit
2742 </span>
2743 <span
2744 className="MuiTouchRipple-root"
2745 />
2746 </button>
2747 </div>
2748 </form>
2749 `;
2750
2751 exports[`single fields string field format uri 1`] = `
2752 <form
2753 className="rjsf"
2754 noValidate={false}
2755 onSubmit={[Function]}
2756 >
2757 <div
2758 className="form-group field field-string"
2759 >
2760 <div
2761 className="MuiFormControl-root MuiFormControl-fullWidth"
2762 >
2763 <div
2764 aria-describedby="root__error root__description root__help"
2765 className="MuiFormControl-root MuiTextField-root"
2766 >
2767 <div
2768 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2769 onClick={[Function]}
2770 >
2771 <input
2772 aria-invalid={false}
2773 autoFocus={false}
2774 className="MuiInputBase-input MuiInput-input"
2775 disabled={false}
2776 id="root"
2777 name="root"
2778 onAnimationStart={[Function]}
2779 onBlur={[Function]}
2780 onChange={[Function]}
2781 onFocus={[Function]}
2782 placeholder=""
2783 required={false}
2784 type="url"
2785 value=""
2786 />
2787 </div>
2788 </div>
2789 </div>
2790 </div>
2791 <div
2792 className="MuiBox-root MuiBox-root-3"
2793 >
2794 <button
2795 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2796 disabled={false}
2797 onBlur={[Function]}
2798 onDragLeave={[Function]}
2799 onFocus={[Function]}
2800 onKeyDown={[Function]}
2801 onKeyUp={[Function]}
2802 onMouseDown={[Function]}
2803 onMouseLeave={[Function]}
2804 onMouseUp={[Function]}
2805 onTouchEnd={[Function]}
2806 onTouchMove={[Function]}
2807 onTouchStart={[Function]}
2808 tabIndex={0}
2809 type="submit"
2810 >
2811 <span
2812 className="MuiButton-label"
2813 >
2814 Submit
2815 </span>
2816 </button>
2817 </div>
2818 </form>
2819 `;
2820
2821 exports[`single fields string field regular 1`] = `
2822 <form
2823 className="rjsf"
2824 noValidate={false}
2825 onSubmit={[Function]}
2826 >
2827 <div
2828 className="form-group field field-string"
2829 >
2830 <div
2831 className="MuiFormControl-root MuiFormControl-fullWidth"
2832 >
2833 <div
2834 aria-describedby="root__error root__description root__help"
2835 className="MuiFormControl-root MuiTextField-root"
2836 >
2837 <div
2838 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2839 onClick={[Function]}
2840 >
2841 <input
2842 aria-invalid={false}
2843 autoFocus={false}
2844 className="MuiInputBase-input MuiInput-input"
2845 disabled={false}
2846 id="root"
2847 name="root"
2848 onAnimationStart={[Function]}
2849 onBlur={[Function]}
2850 onChange={[Function]}
2851 onFocus={[Function]}
2852 placeholder=""
2853 required={false}
2854 type="text"
2855 value=""
2856 />
2857 </div>
2858 </div>
2859 </div>
2860 </div>
2861 <div
2862 className="MuiBox-root MuiBox-root-1"
2863 >
2864 <button
2865 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2866 disabled={false}
2867 onBlur={[Function]}
2868 onDragLeave={[Function]}
2869 onFocus={[Function]}
2870 onKeyDown={[Function]}
2871 onKeyUp={[Function]}
2872 onMouseDown={[Function]}
2873 onMouseLeave={[Function]}
2874 onMouseUp={[Function]}
2875 onTouchEnd={[Function]}
2876 onTouchMove={[Function]}
2877 onTouchStart={[Function]}
2878 tabIndex={0}
2879 type="submit"
2880 >
2881 <span
2882 className="MuiButton-label"
2883 >
2884 Submit
2885 </span>
2886 </button>
2887 </div>
2888 </form>
2889 `;
2890
2891 exports[`single fields string field with placeholder 1`] = `
2892 <form
2893 className="rjsf"
2894 noValidate={false}
2895 onSubmit={[Function]}
2896 >
2897 <div
2898 className="form-group field field-string"
2899 >
2900 <div
2901 className="MuiFormControl-root MuiFormControl-fullWidth"
2902 >
2903 <div
2904 aria-describedby="root__error root__description root__help"
2905 className="MuiFormControl-root MuiTextField-root"
2906 >
2907 <div
2908 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
2909 onClick={[Function]}
2910 >
2911 <input
2912 aria-invalid={false}
2913 autoFocus={false}
2914 className="MuiInputBase-input MuiInput-input"
2915 disabled={false}
2916 id="root"
2917 name="root"
2918 onAnimationStart={[Function]}
2919 onBlur={[Function]}
2920 onChange={[Function]}
2921 onFocus={[Function]}
2922 placeholder="placeholder"
2923 required={false}
2924 type="text"
2925 value=""
2926 />
2927 </div>
2928 </div>
2929 </div>
2930 </div>
2931 <div
2932 className="MuiBox-root MuiBox-root-5"
2933 >
2934 <button
2935 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
2936 disabled={false}
2937 onBlur={[Function]}
2938 onDragLeave={[Function]}
2939 onFocus={[Function]}
2940 onKeyDown={[Function]}
2941 onKeyUp={[Function]}
2942 onMouseDown={[Function]}
2943 onMouseLeave={[Function]}
2944 onMouseUp={[Function]}
2945 onTouchEnd={[Function]}
2946 onTouchMove={[Function]}
2947 onTouchStart={[Function]}
2948 tabIndex={0}
2949 type="submit"
2950 >
2951 <span
2952 className="MuiButton-label"
2953 >
2954 Submit
2955 </span>
2956 </button>
2957 </div>
2958 </form>
2959 `;
2960
2961 exports[`single fields textarea field 1`] = `
2962 <form
2963 className="rjsf"
2964 noValidate={false}
2965 onSubmit={[Function]}
2966 >
2967 <div
2968 className="form-group field field-string"
2969 >
2970 <div
2971 className="MuiFormControl-root MuiFormControl-fullWidth"
2972 >
2973 <div
2974 aria-describedby="root__error root__description root__help"
2975 className="MuiFormControl-root MuiTextField-root"
2976 >
2977 <div
2978 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl MuiInputBase-multiline MuiInput-multiline"
2979 onClick={[Function]}
2980 >
2981 <textarea
2982 aria-invalid={false}
2983 autoFocus={false}
2984 className="MuiInputBase-input MuiInput-input MuiInputBase-inputMultiline MuiInput-inputMultiline"
2985 disabled={false}
2986 id="root"
2987 name="root"
2988 onAnimationStart={[Function]}
2989 onBlur={[Function]}
2990 onChange={[Function]}
2991 onFocus={[Function]}
2992 placeholder=""
2993 required={false}
2994 rows={5}
2995 value=""
2996 />
2997 </div>
2998 </div>
2999 </div>
3000 </div>
3001 <div
3002 className="MuiBox-root MuiBox-root-16"
3003 >
3004 <button
3005 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
3006 disabled={false}
3007 onBlur={[Function]}
3008 onDragLeave={[Function]}
3009 onFocus={[Function]}
3010 onKeyDown={[Function]}
3011 onKeyUp={[Function]}
3012 onMouseDown={[Function]}
3013 onMouseLeave={[Function]}
3014 onMouseUp={[Function]}
3015 onTouchEnd={[Function]}
3016 onTouchMove={[Function]}
3017 onTouchStart={[Function]}
3018 tabIndex={0}
3019 type="submit"
3020 >
3021 <span
3022 className="MuiButton-label"
3023 >
3024 Submit
3025 </span>
3026 <span
3027 className="MuiTouchRipple-root"
3028 />
3029 </button>
3030 </div>
3031 </form>
3032 `;
3033
3034 exports[`single fields title field 1`] = `
3035 <form
3036 className="rjsf"
3037 noValidate={false}
3038 onSubmit={[Function]}
3039 >
3040 <div
3041 className="form-group field field-object"
3042 >
3043 <div
3044 className="MuiFormControl-root MuiFormControl-fullWidth"
3045 >
3046 <div
3047 className="MuiBox-root MuiBox-root-44"
3048 id="root__title"
3049 >
3050 <h5
3051 className="MuiTypography-root MuiTypography-h5"
3052 >
3053 Titre 1
3054 </h5>
3055 <hr
3056 className="MuiDivider-root"
3057 />
3058 </div>
3059 <div
3060 className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2"
3061 style={
3062 {
3063 "marginTop": "10px",
3064 }
3065 }
3066 >
3067 <div
3068 className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12"
3069 style={
3070 {
3071 "marginBottom": "10px",
3072 }
3073 }
3074 >
3075 <div
3076 className="form-group field field-string"
3077 >
3078 <div
3079 className="MuiFormControl-root MuiFormControl-fullWidth"
3080 >
3081 <div
3082 aria-describedby="root_title__error root_title__description root_title__help"
3083 className="MuiFormControl-root MuiTextField-root"
3084 >
3085 <label
3086 className="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated"
3087 data-shrink={false}
3088 htmlFor="root_title"
3089 id="root_title-label"
3090 >
3091 Titre 2
3092 </label>
3093 <div
3094 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
3095 onClick={[Function]}
3096 >
3097 <input
3098 aria-invalid={false}
3099 autoFocus={false}
3100 className="MuiInputBase-input MuiInput-input"
3101 disabled={false}
3102 id="root_title"
3103 name="root_title"
3104 onAnimationStart={[Function]}
3105 onBlur={[Function]}
3106 onChange={[Function]}
3107 onFocus={[Function]}
3108 placeholder=""
3109 required={false}
3110 type="text"
3111 value=""
3112 />
3113 </div>
3114 </div>
3115 </div>
3116 </div>
3117 </div>
3118 </div>
3119 </div>
3120 </div>
3121 <div
3122 className="MuiBox-root MuiBox-root-45"
3123 >
3124 <button
3125 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
3126 disabled={false}
3127 onBlur={[Function]}
3128 onDragLeave={[Function]}
3129 onFocus={[Function]}
3130 onKeyDown={[Function]}
3131 onKeyUp={[Function]}
3132 onMouseDown={[Function]}
3133 onMouseLeave={[Function]}
3134 onMouseUp={[Function]}
3135 onTouchEnd={[Function]}
3136 onTouchMove={[Function]}
3137 onTouchStart={[Function]}
3138 tabIndex={0}
3139 type="submit"
3140 >
3141 <span
3142 className="MuiButton-label"
3143 >
3144 Submit
3145 </span>
3146 <span
3147 className="MuiTouchRipple-root"
3148 />
3149 </button>
3150 </div>
3151 </form>
3152 `;
3153
3154 exports[`single fields unsupported field 1`] = `
3155 <form
3156 className="rjsf"
3157 noValidate={false}
3158 onSubmit={[Function]}
3159 >
3160 <div
3161 className="form-group field field-undefined"
3162 >
3163 <div
3164 className="MuiFormControl-root MuiFormControl-fullWidth"
3165 >
3166 <div
3167 className="unsupported-field"
3168 >
3169 <p>
3170 <span>
3171 Unsupported field schema for field
3172 <code>
3173 root
3174 </code>
3175 :
3176 <em>
3177 Unknown field type undefined
3178 </em>
3179 .
3180 </span>
3181 </p>
3182 <pre>
3183 {}
3184 </pre>
3185 </div>
3186 </div>
3187 </div>
3188 <div
3189 className="MuiBox-root MuiBox-root-9"
3190 >
3191 <button
3192 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
3193 disabled={false}
3194 onBlur={[Function]}
3195 onDragLeave={[Function]}
3196 onFocus={[Function]}
3197 onKeyDown={[Function]}
3198 onKeyUp={[Function]}
3199 onMouseDown={[Function]}
3200 onMouseLeave={[Function]}
3201 onMouseUp={[Function]}
3202 onTouchEnd={[Function]}
3203 onTouchMove={[Function]}
3204 onTouchStart={[Function]}
3205 tabIndex={0}
3206 type="submit"
3207 >
3208 <span
3209 className="MuiButton-label"
3210 >
3211 Submit
3212 </span>
3213 </button>
3214 </div>
3215 </form>
3216 `;
3217
3218 exports[`single fields up/down field 1`] = `
3219 <form
3220 className="rjsf"
3221 noValidate={false}
3222 onSubmit={[Function]}
3223 >
3224 <div
3225 className="form-group field field-number"
3226 >
3227 <div
3228 className="MuiFormControl-root MuiFormControl-fullWidth"
3229 >
3230 <div
3231 aria-describedby="root__error root__description root__help"
3232 className="MuiFormControl-root MuiTextField-root"
3233 >
3234 <div
3235 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
3236 onClick={[Function]}
3237 >
3238 <input
3239 aria-invalid={false}
3240 autoFocus={false}
3241 className="MuiInputBase-input MuiInput-input"
3242 disabled={false}
3243 id="root"
3244 name="root"
3245 onAnimationStart={[Function]}
3246 onBlur={[Function]}
3247 onChange={[Function]}
3248 onFocus={[Function]}
3249 placeholder=""
3250 required={false}
3251 type="number"
3252 value=""
3253 />
3254 </div>
3255 </div>
3256 </div>
3257 </div>
3258 <div
3259 className="MuiBox-root MuiBox-root-15"
3260 >
3261 <button
3262 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
3263 disabled={false}
3264 onBlur={[Function]}
3265 onDragLeave={[Function]}
3266 onFocus={[Function]}
3267 onKeyDown={[Function]}
3268 onKeyUp={[Function]}
3269 onMouseDown={[Function]}
3270 onMouseLeave={[Function]}
3271 onMouseUp={[Function]}
3272 onTouchEnd={[Function]}
3273 onTouchMove={[Function]}
3274 onTouchStart={[Function]}
3275 tabIndex={0}
3276 type="submit"
3277 >
3278 <span
3279 className="MuiButton-label"
3280 >
3281 Submit
3282 </span>
3283 </button>
3284 </div>
3285 </form>
3286 `;
3287
3288 exports[`single fields using custom tagName 1`] = `
3289 <div
3290 className="rjsf"
3291 noValidate={false}
3292 onSubmit={[Function]}
3293 >
3294 <div
3295 className="form-group field field-string"
3296 >
3297 <div
3298 className="MuiFormControl-root MuiFormControl-fullWidth"
3299 >
3300 <div
3301 aria-describedby="root__error root__description root__help"
3302 className="MuiFormControl-root MuiTextField-root"
3303 >
3304 <div
3305 className="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
3306 onClick={[Function]}
3307 >
3308 <input
3309 aria-invalid={false}
3310 autoFocus={false}
3311 className="MuiInputBase-input MuiInput-input"
3312 disabled={false}
3313 id="root"
3314 name="root"
3315 onAnimationStart={[Function]}
3316 onBlur={[Function]}
3317 onChange={[Function]}
3318 onFocus={[Function]}
3319 placeholder=""
3320 required={false}
3321 type="text"
3322 value=""
3323 />
3324 </div>
3325 </div>
3326 </div>
3327 </div>
3328 <div
3329 className="MuiBox-root MuiBox-root-47"
3330 >
3331 <button
3332 className="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
3333 disabled={false}
3334 onBlur={[Function]}
3335 onDragLeave={[Function]}
3336 onFocus={[Function]}
3337 onKeyDown={[Function]}
3338 onKeyUp={[Function]}
3339 onMouseDown={[Function]}
3340 onMouseLeave={[Function]}
3341 onMouseUp={[Function]}
3342 onTouchEnd={[Function]}
3343 onTouchMove={[Function]}
3344 onTouchStart={[Function]}
3345 tabIndex={0}
3346 type="submit"
3347 >
3348 <span
3349 className="MuiButton-label"
3350 >
3351 Submit
3352 </span>
3353 <span
3354 className="MuiTouchRipple-root"
3355 />
3356 </button>
3357 </div>
3358 </div>
3359 `;