Skip to content

v2.1.0

Choose a tag to compare

@based-ghost based-ghost released this 20 Apr 23:32
· 322 commits to master since this release

Change Log

🚀 Feature

  • New 'async' mode for fetching dynamic options from a remote server using the search input value - Async Story
  • New optional property: async: boolean
  • New optional property: loadingMsg: string
  • New optional property: onInputChange: (value?: string) => void
  • New optional property: onSearchChange: (value?: string) => void

🛠 Misc

  • Optimization by removing extraneous <div> element that wrapped the <input> element in the AutosizeInput.tsx component (replaced with React.Fragment).
  • Bump some dev dependencies.

💥 Breaking Changes

  • 1 minor breaking change that, while not resulting in any runtime errors, could in rare scenarios alter custom styling. The change is outlined in the first bullet point under the Misc header above. Since a <div> element was removed from the html rendered, any CSS rules targeting the <input> element may need to be updated to account for this.