MDBInput issues with React Hook Form


Topic: MDBInput issues with React Hook Form

bodoplatform asked 2 months ago

Expected behavior

MDBInput when existing data is provided the label's should not overlap

Actual behavior

MDBInput when using react-hook-form. For existing the data, the label is not getting overridden

Resources (screenshots, code snippets etc.)

const methods = useForm({ resolver: yupResolver(CatalogValidationSchema(catalogType)), defaultValues: data || {}, mode: 'onBlur', });


bodoplatform answered 2 months ago

The below is the screenshot of the issue. Issue Image


makolaza answered 1 months ago

I can't see the issue image. Could you send a full code to reproduce the problem?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 8.0.0
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: Sequoia 15.2
  • Provided sample code: No
  • Provided link: No