Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: update Autosuggest component to better support freeform and selected values #2899

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    34720f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9460520 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    464c949 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2b53d0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8c09b4f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. feat!: update Autosuggest component to support freeform and selected …

    …values
    
    This updates the Autosuggest component to provide the consumer with:
    * The value entered in the textbox by the user
    * The selected value (as it is displayed in the dropdown)
    * The id of the selected option
    
    This also allows the consumer to determine if the Autosuggest component should be in an error state when
    * No text has been entered
    * Text has been entered, but not selection has been made
    * An external validation check has failed - "customError"
    
    The consumer will provide error messages for the appropriate error states
    
    BREAKING CHANGE: value of Autosuggest component is now an object instead of a string
    BREAKING CHANGE: Autosuggest component now uses onChange instead of onSelected
    BREAKING CHANGE: Autosuggest component now takes in different error messages for value/selection required, and custom errors
    brian-smith-tcril committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e3daacf View commit details
    Browse the repository at this point in the history