-
Notifications
You must be signed in to change notification settings - Fork 1k
Field Customizer against a choice field doesn't fire onRenderCell #7232
Copy link
Copy link
Closed
Labels
area:list-formattingCategory: View, row & column formatting with JSONCategory: View, row & column formatting with JSONarea:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Description
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
- setup a list with a choice field
- create a field customizer with yo
- just start the debugger against the choice field
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:list-formattingCategory: View, row & column formatting with JSONCategory: View, row & column formatting with JSONarea:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.