Input id fix

This commit is contained in:
Jerzy Kwiatkowski 2024-01-09 21:35:53 +01:00
parent 9c55f5ea26
commit e47b1ebfcc

View File

@ -6,6 +6,9 @@ function App() {
const [datasetQuarry, setDatasetQuarry] = useState(''); const [datasetQuarry, setDatasetQuarry] = useState('');
const [tableQuarry, setTableQuarry] = useState(''); const [tableQuarry, setTableQuarry] = useState('');
const [columns, setColumns] = useState(''); const [columns, setColumns] = useState('');
const [datasetQuarry2, setDatasetQuarry2] = useState('');
const [tableQuarry2, setTableQuarry2] = useState('');
const [columns2, setColumns2] = useState('');
const [results, setResults] = useState(''); const [results, setResults] = useState('');
const [isVisible, setIsVisible] = useState(true); const [isVisible, setIsVisible] = useState(true);
@ -39,22 +42,22 @@ function App() {
className='datasetL' className='datasetL'
type="text" type="text"
placeholder="Dataset quarry" placeholder="Dataset quarry"
value={datasetQuarry} value={datasetQuarry2}
onChange={(e) => setDatasetQuarry(e.target.value)} onChange={(e) => setDatasetQuarry2(e.target.value)}
/> />
<input <input
className='tableL' className='tableL'
type="text" type="text"
placeholder="Table quarry" placeholder="Table quarry"
value={tableQuarry} value={tableQuarry2}
onChange={(e) => setTableQuarry(e.target.value)} onChange={(e) => setTableQuarry2(e.target.value)}
/> />
<div className="columsL" id="columns-heigh"> <div className="columsL" id="columns-heigh">
<input <input
type="text" type="text"
placeholder="Columns" placeholder="Columns"
value={columns} value={columns2}
onChange={(e) => setColumns(e.target.value)} onChange={(e) => setColumns2(e.target.value)}
/> />
</div> </div>
</div>} </div>}