Topic: MDBInput : inputRef show error
                  
                  Yohana Habsari
                  priority
                  asked 3 years ago
                
Expected behavior inputRef={ref}
Actual behavior Warning: React does not recognize the inputRef prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase inputref instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Resources (screenshots, code snippets etc.)
                <MDBInput
                                      className="mb-4"
                                      type="email"
                                      id="Email"
                                      label="Email"
                                      inputRef={emailref}
                                      name="email"
                                      value={email }
                                      onChange={(e) => setEmail(e.target.value)}
                />
                
                  FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Opened
Specification of the issue
              - ForumUser: Priority
 - Premium support: Yes
 - Technology: MDB React
 - MDB Version: MDB5 4.0.0
 - Device: PC
 - Browser: chrome
 - OS: WIndows
 - Provided sample code: Yes
 - Provided link: No
 
Krzysztof Wilk staff commented 3 years ago
Hi!
Could you create a code example of your problem using i.e. our snippets or by creating a simple GitHub repository? I tried the code above and everything works on my side :/