Skip to content

Field Customizer against a choice field doesn't fire onRenderCell #7232

@AkumaTen

Description

@AkumaTen

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

Hi there!
using SPFx v1.12.1 when you generate a field customizer and try to debug against a Choice field, onRenderCell never gets called. onInit works as expected.

When you change the field in the debug url pointing to single line of text or yes/no field, the event fires.

I'm testing this against AllItems.aspx of a 3 rows simple list with the default "Title" field and an added "Kind" choice field.
Thanks!

Steps to reproduce

  1. setup a list with a choice field
  2. create a field customizer with yo
  3. just start the debugger against the choice field
  4. set a breakpoint on onRenderCell and see that it never gets hit

Expected behavior

field customizer fires onRenderCell as it does for single line of text or yes/no fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:list-formattingCategory: View, row & column formatting with JSONarea:spfxCategory: SharePoint Framework (not extensions related)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions