This is a minor change to clear a console warning, and make intended behavior clearer! You're not supposed to pass `null` as a select value, because it's ambiguous about whether you're looking for the first option or to make this an "uncontrolled component". Here, I now provide a fallback value, which is an explicit string for the placeholder option. I made the string very explicit, to aid in debugging if it somehow leaks out from where it's supposed to be! (But I also added gating in the `onChange` event, just to be extra sure.) |
||
|---|---|---|
| .. | ||
| HangerSpinner.js | ||
| HTML5Badge.js | ||
| ItemCard.js | ||
| ItemSearchPageToolbar.js | ||
| MarkdownAndSafeHTML.js | ||
| OutfitMovieLayer.js | ||
| OutfitPreview.js | ||
| OutfitThumbnail.js | ||
| PaginationToolbar.js | ||
| SpeciesColorPicker.js | ||
| SquareItemCard.js | ||
| useCurrentUser.js | ||
| useOutfitAppearance.js | ||
| useRequireLogin.js | ||
| WIPCallout.js | ||