data-players / PETR_MSB_tiers-lieux

MIT License
0 stars 1 forks source link

PairLocationInput bug #21

Closed VincentFarcy closed 2 years ago

VincentFarcy commented 2 years ago

Erreur lors de la saisie d'une localisation (autocompletion) dans organizationEdit :

TypeError: Cannot read property 'filter' of undefined
useAutocomplete
node_modules/@material-ui/lab/esm/useAutocomplete/useAutocomplete.js:225
  222 | 
  223 | var inputValueIsSelectedValue = !multiple && value != null && inputValue === getOptionLabel(value);
  224 | var popupOpen = open;
> 225 | var filteredOptions = popupOpen ? filterOptions(options.filter(function (option) {
      | ^  226 |   if (filterSelectedOptions && (multiple ? value : [value]).some(function (value2) {
  227 |     return value2 !== null && getOptionSelected(option, value2);
  228 |   })) {
View compiled
Autocomplete
node_modules/@material-ui/lab/esm/Autocomplete/Autocomplete.js:386
  383 | 
  384 | var PopperComponent = disablePortal ? DisablePortal : PopperComponentProp;
  385 | 
> 386 | var _useAutocomplete = useAutocomplete(_extends({}, props, {
      | ^  387 |   componentName: 'Autocomplete'
  388 | })),
  389 |     getRootProps = _useAutocomplete.getRootProps,
simonLouvet commented 2 years ago

bug non reproduit avec la dernière version sur main @VincentFarcy