Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

add regexp to antd

{getFieldDecorator("testNumber", {
        rules: [
          {
            required: true,
            type: "regexp",
            pattern: new RegExp(/d+/g),
            message: "Wrong format!"
          }
        ]
      })(<Input />)}
Comment

PREVIOUS NEXT
Code Example
Javascript :: create a binary tree 
Javascript :: header logo react native img 
Javascript :: firebase timestamp to date angular 
Javascript :: filter by keyname javascript 
Javascript :: json stringify close circle 
Javascript :: fonction fleche javascript 
Javascript :: return last two values of array in javascript 
Javascript :: formik react native 
Javascript :: hwo to make ana array of prime numbers in javascript 
Javascript :: export data to excel using react js 
Javascript :: javascript fs read 
Javascript :: background image in react from variable 
Javascript :: on refresh react url not working or 404 page not showing react 
Javascript :: open sans font react js 
Javascript :: How to replace a value in localstorage using javascript 
Javascript :: react import json 
Javascript :: angular disable click 
Javascript :: capacitor.ionicframework.com to apk 
Javascript :: material ui outlined input with icon 
Javascript :: lodash remove null from object 
Javascript :: remove duplicates from array of objects 
Javascript :: strict mode in javascript 
Javascript :: toastr alert js 
Javascript :: yagni 
Javascript :: ctx.fillstyle 
Javascript :: js string count 
Javascript :: click counter in js 
Javascript :: javascript object to array 
Javascript :: select in react js 
Javascript :: settimeout in loop javascript 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =