Skip to content

Commit

Permalink
select drop-down for configured networks
Browse files Browse the repository at this point in the history
  • Loading branch information
f0x52 committed Oct 8, 2024
1 parent 3c8daf7 commit 445a86b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions client/components/NetworkForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,20 @@
<h2>Network settings</h2>
<div class="connect-row">
<label for="connect:name">Name</label>
<input
id="connect:name"
v-model.trim="defaults.name"
<select
id="connect:name"
v-model="defaults.name"
class="input"
name="name"
maxlength="100"
/>
>
<option
v-for="network in config.networks"
:key="network.name"
:value="network.name"
>
{{ network.name }}
</option>
</select>
</div>
<div class="connect-row">
<label for="connect:password">Password</label>
Expand Down

0 comments on commit 445a86b

Please sign in to comment.