Skip to content

[Autocomplete] slotProps.popupIndicator does not accept a function returning props #47865

@EricPEngel

Description

@EricPEngel

Steps to reproduce

Steps:

  1. Open this link to live example: https://stackblitz.com/edit/github-ocec1x59?file=src%2FApp.tsx
  2. Render an Autocomplete component with slotProps.popupIndicator defined as a function returning props.
  3. inspect popupIndicator

Current behavior

Returning props via a function has no effect

Expected behavior

Returning props via a function has an effect

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Linux 6.6 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
  Binaries:
    Node: 22.22.0
    npm: 10.9.4
    pnpm: Not Found
  Browsers:
    Chrome
  npmPackages:
    @emotion/react:  11.14.0 
    @emotion/styled:  11.14.1 
    @mui/core-downloads-tracker:  7.3.7 
    @mui/icons-material:  7.3.8 
    @mui/lab:  7.0.1-beta.21 
    @mui/material:  7.3.7 
    @mui/private-theming:  7.3.7 
    @mui/styled-engine:  7.3.7 
    @mui/system:  7.3.7 
    @mui/types:  7.4.10 
    @mui/utils:  7.3.7 
    @mui/x-data-grid:  8.27.0 
    @mui/x-internals:  8.26.0 
    @mui/x-virtualizer:  0.3.3 
    @types/react: 18.3.28 => 18.3.28 
    react: 18.3.1 => 18.3.1 
    react-dom: 18.3.1 => 18.3.1 
    typescript: 5.9.3 => 5.9.3 

Search keywords: Autocomplete slotProps popupIndicator

Metadata

Metadata

Assignees

Labels

scope: autocompleteChanges related to the autocomplete. This includes ComboBox.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions