sweetalert-react | Declarative SweetAlert in React | Frontend Utils library
kandi X-RAY | sweetalert-react Summary
kandi X-RAY | sweetalert-react Summary
sweetalert-react is a wrapped sweetalert implementation with declarative React style component APIs. There is a show prop available for toggling alert component's visibility. And onConfirm, onCancel, onClose, onEscapeKey, onOutsideClick props allow you have a fine grained control over alert component events.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Warn about change notifications .
sweetalert-react Key Features
sweetalert-react Examples and Code Snippets
Community Discussions
Trending Discussions on sweetalert-react
QUESTION
I am using antd template for form design. After submit form input values are not getting cleared.
I tried this.props.form.resetFields()
its not working getting following error
ANSWER
Answered 2020-Aug-24 at 07:48First thing you don't need to use this.props
. As you are importing like this. If you still need in form of props you need to Form.create
api of ant. form
is nothing exported from Form
api. The better way is you already defined ref. Access form value via that:
- Define ref
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sweetalert-react
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page