React-Hooks: How can we pass a selected option from material-ui dialog dropdown to server
问题 I would like to pass an option (either In or Out ) from the material-ui dialog drop-down box once the SAVE button is clicked. ISSUE I have named the select field as dailyinput , and i want to get the selected value in while making an axios call (PUT). Currently, am getting that value as undefined . I have added a demo link: codesandboxlink // Availability.js import DailyStatusDialog from "../modal/DailyStatus"; const Availability = () => { const [deleteDialog, setDeleteDialog] = useState