Hello -
When selecting a value from autocomplete by pressing the “tab” key, the focus goes to the top of the page.
Previously, selecting a value from the list with tab would go to the next field (by index). It appears that at some point recently the behavior was changed to call “render” when the field value changes in autocomplete which it previously did not do.
Steps to reproduce:
- Create Account details page
- Add Parent Account Id field to editor above the Name
- Preview page
- Start typing text to locate an account. Use the cursor keys to pick an item and “tab” to select it
Actual Result
Focus goes to top of page
Expected Result
Focus should go to Name field
Sample Page XML
<skuidpage unsavedchangeswarning="yes" showsidebar="true" showheader="true" tabtooverride="Account"> <models>
<model id="Account" limit="1" query="true" createrowifnonefound="false" sobject="Account">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
<field id="NumberOfEmployees"/>
<field id="MasterRecordId"/>
<field id="MasterRecord.Name"/>
<field id="ParentId"/>
<field id="Parent.Name"/>
</fields>
<conditions>
<condition type="param" enclosevalueinquotes="true" operator="=" field="Id" value="id"/>
</conditions>
<actions/>
</model>
</models>
<components>
<pagetitle model="Account">
<maintitle>
<template>{{Name}}</template>
</maintitle>
<subtitle>
<template>{{Model.label}}</template>
</subtitle>
<actions/>
</pagetitle>
<basicfieldeditor showsavecancel="false" showheader="true" model="Account" mode="edit" buttonposition="" layout="">
<columns>
<column width="100%">
<sections>
<section title="Basics" collapsible="no">
<fields>
<field id="ParentId"/>
<field id="Name" valuehalign="" type=""/>
</fields>
</section>
</sections>
</column>
</columns>
</basicfieldeditor>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
</skuidpage>
Thanks!