{{#if label}}
<label for="{{name}}" class="is-label">
{{label}}
{{#if helpText}}
<InfoTooltip>
<span data-test-help-text>{{helpText}}</span>
</InfoTooltip>
{{/if}}
</label>
{{#if authMethods.isRunning}}
<div>
<span class="loader is-inline-block"></span>
</div>
{{else if authMethods.last.value}}
<div class="control is-expanded" >
<div class="select is-fullwidth">
<select
name={{name}}
id={{name}}
onchange={{action "change" value="target.value"}}
>
{{#each authMethods.last.value as |method|}}
<option selected={{eq value method.accessor}} value={{method.accessor}}>
{{method.path}} ({{method.type}})
</option>
{{/each}}
</select>
{{else}}
<input
class="input"
value={{value}}
placeholder="Mount accessor"
/>