How does react change the value of input

how to use react to change the value of Input

< hr >
export default class myForm extends Component{

    constructor(props){
        super(props);
        this.state = {
            id: "",
        };
    }
    
    change=()=>{
        var idInput = this.refs.idInput;
        ***// TODO input***
    }

    render(){
        return(
            <Input
               ref="idInput"
               placeholder=""
               onChange={e => this.setState({id:e.target.value})}
            />
            <Button onClick={this.change} />
        )
    }
}
Feb.26,2021

  

findDOMNode (this.refs.idInput)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bde37d-313c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bde37d-313c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?