Enable choosing the generation algorithm.

This commit is contained in:
Manuel Friedli 2024-12-14 13:31:51 +01:00
parent 6f701f3b54
commit 804ce323bf
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
2 changed files with 7 additions and 2 deletions

View file

@ -85,6 +85,11 @@ export default function InputForm({state, dispatch}) {
disabled={state.loading}
onChange={setId}
/><br/>
<label for="algorithm">Algorithmus:</label>
<select id={"algorithm"}>
<option>wilson</option>
<option>random</option>
</select><br/>
<button type={"submit"}
disabled={state.loading
|| isNaN(width)