Debian Codegraph @

packages/fluent-ui/test/__snapshots__/Object.test.tsx.snap

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