You can do this by using onClick={(e) => setFocusedInput('startDate')} . Then the datepicker will open with state date .
確定! 回上一頁