question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot use popover with form items

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Focus input field (observe popover showing)
  2. Make entry in field
  3. Hit submit button

What is expected?

onFinish method fires, printing entered value

What is actually happening?

onFinishFailed method fires. Input value has not been taken over. Validation is not applied.

Environment Info
antd 4.17.0
React 16.14

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

form in popover not working - Stack Overflow
When a Modal is launched it maintains focus upon itself, preventing the elements in the form from obtaining focus. A simple workaround would ......
Read more >
Popovers - Bootstrap
Popovers that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements. Copy. $('#element').
Read more >
ion-popover - Ionic Framework
A Popover is a dialog that appears on top of the current page. It can be used for anything, but generally it is...
Read more >
Bootstrap JS Popover Reference - W3Schools
Name Type Default Try it animation boolean true Try it container string, or the boolean false false Try it content string "" Try it
Read more >
Can I trigger my popover form with a button or a link? | Help
The configuration cannot be used for inline forms. Optionally you may use our API directly in JavaScript Code (by referring to GRWF2 Object):...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found