File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,6 @@ function PlaceholderType(props) {
334
334
return (
335
335
< div key = { ind } className = "flex items-center text-center gap-0.5" >
336
336
< input
337
- id = { data }
338
337
style = { {
339
338
width : props . pos . Width ,
340
339
display : "flex" ,
@@ -374,12 +373,7 @@ function PlaceholderType(props) {
374
373
} }
375
374
/>
376
375
{ ! props . pos . options ?. isHideLabel && (
377
- < label
378
- htmlFor = { ! props . isPlaceholder && data }
379
- className = "text-xs mb-0 text-center"
380
- >
381
- { data }
382
- </ label >
376
+ < label className = "text-xs mb-0 text-center" > { data } </ label >
383
377
) }
384
378
</ div >
385
379
) ;
@@ -714,7 +708,6 @@ function PlaceholderType(props) {
714
708
return (
715
709
< div key = { ind } className = "flex items-center text-center gap-0.5" >
716
710
< input
717
- id = { data }
718
711
style = { {
719
712
width : props . pos . Width ,
720
713
display : "flex" ,
@@ -735,12 +728,7 @@ function PlaceholderType(props) {
735
728
} }
736
729
/>
737
730
{ ! props . pos . options ?. isHideLabel && (
738
- < label
739
- htmlFor = { ! props . isPlaceholder && data }
740
- className = "text-xs mb-0"
741
- >
742
- { data }
743
- </ label >
731
+ < label className = "text-xs mb-0" > { data } </ label >
744
732
) }
745
733
</ div >
746
734
) ;
Original file line number Diff line number Diff line change @@ -238,7 +238,10 @@ export const addWidgetOptions = (type) => {
238
238
case "stamp" :
239
239
return defaultOpt ;
240
240
case "checkbox" :
241
- return { defaultOpt, options : { isReadOnly : false , isHideLabel : false } } ;
241
+ return {
242
+ ...defaultOpt ,
243
+ options : { isReadOnly : false , isHideLabel : false }
244
+ } ;
242
245
case textInputWidget :
243
246
return { ...defaultOpt , validation : { type : "text" , pattern : "" } } ;
244
247
case "initials" :
You can’t perform that action at this time.
0 commit comments