Просмотр исходного кода

Merge pull request #19467 from overleaf/jpa-e2e-test-fix

[web] forward "name" on BS3 variant of OLFormControl into DOM

GitOrigin-RevId: 8eb276e767f1aa4b422aca390887b93433681c87
Jakob Ackermann 2 лет назад
Родитель
Сommit
291fdd4e30

+ 1 - 0
services/web/frontend/js/features/ui/components/ol/ol-form-control.tsx

@@ -15,6 +15,7 @@ const OLFormControl = forwardRef<HTMLInputElement, OLFormControlProps>(
 
     let bs3FormControlProps: React.ComponentProps<typeof BS3FormControl> = {
       id: rest.id,
+      name: rest.name,
       className: rest.className,
       style: rest.style,
       type: rest.type,