I have tried solution to make (available form, Until) editable. I tried event handler to add editable functionality into it but it’ s not working.
Here’ the code and Screenshot:
import React, { Component } from "react";
import isEmpty from "lodash/isEmpty";
import objectToFormData from "object-to-formdata";
import "react-dates/initialize";
import { isInclusivelyAfterDay, DayPickerRangeController } from "react-dates";
import PlacesAutocompleteComponent from "../misc/places_autocomplete_component";
import { geocodeByAddress, getLatLng } from "react-places-autocomplete";
import Loading from "../misc/loading";
import Select from "react-select";
import moment from "moment";
const today = moment();
// TO DO: allow user to select which image they want to be the thumb image
class ListingForm extends Component {
constructor(props) {
super(props);
const { user_id } = this.props;
this.state = {
This file has been truncated. show original