Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ant design form validation in the modal

 <Modal
   okButtonProps={{form:'category-editor-form', key: 'submit', htmlType: 'submit'}}
   onCancel={() => {
     dispatch({
      type: 'categoryEditor/closeEditor'
     })
   }}>
   <Form id='category-editor-form' layout="vertical" onFinish={onFinish}>

  </Form>
Source by github.com #
 
PREVIOUS NEXT
Tagged: #ant #design #form #validation #modal
ADD COMMENT
Topic
Name
3+6 =