formio / ngFormio

JSON powered form rendering library for AngularJS + Form.io.

Home Page:http://formio.github.io/ngFormio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select Component does not allow typeahead data to refresh Default Value

blackbaud-KelbyStine opened this issue · comments

Description: When updating a form field where the default value is set, selecting a new item from the typeahead search list does not replace the default value. It is only possible to update the select value when scrolling through the standard dropdown list and clicking an item.

  1. Set up a form that uses the Select Component (Data source URL) and a valid default value.
  2. Navigate to the form, and note that the default value is set
    1
  3. Click on the dropdown, the standard drop down should appear
  4. Type in another valid select option, the typeahead search dropdown appears with results
    2
  5. Choose one of the typeahead dropdown options (either by keyboard or mouse click)
  6. After the option is chosen the typeahead dropdown disappears, but the default value remains
    3

Other aspects to note: This bug does not happen when the source is the JSON file. All other settings of the component are default, except where needed to take in the URL data.

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!