Muhammad Siddiq

Results 4 comments of Muhammad Siddiq

@DylanPiercey How Do you Know the Posibble solution. just curious . new to open source. What are the prerequisite knowledge required to fin solutions to these problems

import React, { useRef } from "react"; const Component = () => { const submitButtonRef = useRef(null); function action(formData) { console.log(formData.get("n1")); } function handleSubmit(event) { event.preventDefault(); submitButtonRef.current.click(); } return (...

Use a hidden submit button inside of the form tag and programmatically click it when the external button is clicked.