I’m trying to select some values inside a multi-select using kantu, I can type some chars to filter the values, but I cannot select the values then.
The select field is based on kendo-ui and here the html code:
<div class="k-multiselect-wrap k-floatwrap" role="listbox" unselectable="on">
<ul unselectable="on" class="k-reset" id="AuthorizationIdsAmc_taglist"></ul>
<input class="k-input k-readonly" style="width: 74.7266px;" accesskey="" autocomplete="off" role="listbox" title="" aria-expanded="false" aria-haspopup="listbox" aria-autocomplete="list" tabindex="0" aria-describedby="AuthorizationIdsAmc_taglist" aria-labelledby="AuthorizationIdsAmc_label" aria-disabled="false" aria-busy="false">
<span unselectable="on" class="k-icon k-clear-value k-i-close k-hidden" title="clear" role="button" tabindex="-1"></span>
<span class="k-icon k-i-loading k-hidden"></span>
<span style="font-family: "Open Sans", "Segoe UI"; font-size: 14px; font-stretch: 100%; font-style: normal; font-weight: 400; letter-spacing: normal; text-transform: none; line-height: 29px; position: absolute; visibility: hidden; top: -3333px; left: -3333px;">
Select...
</span>
</div>
and here the select tag:
<select class="full-width" data-val="true" data-val-required="Required." id="AuthorizationIdsAmc" multiple="multiple" name="AuthorizationIdsAmc" data-role="multiselect" aria-disabled="false" style="display: none;">
<option>...</option>
</select>
I tried to use the command sendKey with the value and then “enter” but nothing… I also tried the command addSelection but nothing neither
How can I select values from this component?
Depending on the command I receive the following error messages:
[error] Option type “” not supported
or
[error] cannot find option with 'label=…"
and If I use the command sendKeys
with ${KEY_ENTER}
to try to select the option, the form is submitted (without any value for this field) instead of selecting the value for the multi-select