disable plant-selection on runtime (currrently not supported)

This commit is contained in:
Joeri Exelmans 2025-10-27 11:12:18 +01:00
parent a81fe1e884
commit 8951380f9b

View file

@ -446,6 +446,7 @@ export function App() {
<PersistentDetails localStorageKey="showPlant" initiallyOpen={true}> <PersistentDetails localStorageKey="showPlant" initiallyOpen={true}>
<summary>plant</summary> <summary>plant</summary>
<select <select
disabled={trace!==null}
value={plantName} value={plantName}
onChange={e => setPlantName(() => e.target.value)}> onChange={e => setPlantName(() => e.target.value)}>
{plants.map(([plantName, p]) => {plants.map(([plantName, p]) =>