cancel
Showing results for 
Search instead for 
Did you mean: 

Multiinput field and ValueHelpDialog together after the first input the focus is still on button

anupdrao
Employee
Employee
0 Kudos

Hi ,

We are using UI5 and for multiple selection of input we are using Multiinput field and ValueHelpDialog together. When we use ValueHelpDialog for selection after the first input the focus is still on button(example: add something) but it has to shift back to multiinput field . So the issue is with respect to the focus which is not working properly with this or i am missing something here.

Example:

AutoFocus on wrong button using ValueHelpDialog.png

 

My code

<MultiInput placeholder="select category" id="test" 
        required="true"
        editable="{ui>/isEditable}"
        valueHelpRequest="handler.test"
        valueHelpOnly="false"
        showValueHelp="true"
        core:require="{handler: 'someHandler'}" >
    </MultiInput>

<ValueHelpDialog ok="handler.someHandlerSelect"
		id="idAcategoryDialog"
		core:require="{
			handler: 'DimensionSection'
		}"
		title="category"
		cancel="handler.onDimensionDialogCancelPress"
		afterClose="handler.onDimensionDialogAfterClose"
		key="Code"
		descriptionKey="Description"
		tokenDisplayBehaviour="descriptionOnly"
		supportMultiselect="true">
		<filterBar>
			<fb:FilterBar advancedMode="true"
				id="idCategoryFilterBar"
				search="handler.onDimensionDialogFilterBarSearch"
				isRunningInValueHelpDialog="true"
				showGoOnFB="true"
				basicSearch="true">
			</fb:FilterBar>
		</filterBar>
	</ValueHelpDialog>

Accepted Solutions (0)

Answers (0)