web/*: add loading indicator to select inputs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -69,7 +69,7 @@ export class PolicyTestForm extends Form<PolicyTest> {
|
||||
return users.results.map(user => {
|
||||
return html`<option value=${ifDefined(user.pk)}>${user.username}</option>`;
|
||||
});
|
||||
}), html``)}
|
||||
}), html`<option>${t`Loading...`}</option>`)}
|
||||
</select>
|
||||
</ak-form-element-horizontal>
|
||||
<ak-form-element-horizontal
|
||||
|
||||
Reference in New Issue
Block a user