Skip to content

Form Customizer missing from SPFx Generator 1.22.1 #10687

@fowl2

Description

@fowl2

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

  • not applicable

Additional environment details

  • SPFx version: 1.22.2
  • Node.js version: v24.13.1

Describe the bug / error

The "Form Customizer" option is not available in 1.22.2, but it was in 1.21.2.

(Also for some reason the version number does not display )

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |      Welcome to the      |
   `---------´   |  SharePoint Client-side  |
    ( _´U`_ )    |    Solution Generator    |
    /___A___\    '--------------------------'
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

Let's create a new SharePoint solution.
✔ What is your solution name? form-app-launcher
`list` prompt is deprecated. Use `select` prompt instead.
✔ Which baseline packages do you want to target for your component(s)? SharePoint Online only (latest)
`list` prompt is deprecated. Use `select` prompt instead.
✔ Where do you want to place the files? Create a subfolder with solution name
Found npm version 11.8.0
✔ Do you want to allow the tenant admin the choice of being able to deploy the solution to all sites immediately without running any feature deployment or adding apps in sites? No
✔ Will the components in the solution require permissions to access web APIs that are unique and not shared with other components in the tenant? No
`list` prompt is deprecated. Use `select` prompt instead.
✔ Which type of client-side component to create? Extension
`list` prompt is deprecated. Use `select` prompt instead.
? Which type of client-side extension to create?
❯ Application Customizer
  Field Customizer
  ListView Command Set

↑↓ navigate • ⏎ select

Steps to reproduce

  1. run yo @microsoft/sharepoint
  2. Enter valules until "Which type of client-side component to create?".
  3. Notice that "Form Customizer" is not available.

Expected behavior

"Form Customizer" is available. See output from 1.21.1:

>yo @microsoft/sharepoint     
(node:64560) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

     _-----_     ╭──────────────────────────╮
    |       |    │ Welcome to the Microsoft │
    |--(o)--|    │      365 SPFx Yeoman     │
   `---------´   │     Generator@1.21.1     │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

See https://aka.ms/spfx-yeoman-info for more information on how to use this generator.
Let's create a new Microsoft 365 solution.
✔ What is your solution name? listitem-app-launcher
`list` prompt is deprecated. Use `select` prompt instead.
✔ Which type of client-side component to create? Extension
`list` prompt is deprecated. Use `select` prompt instead.
✔ Which type of client-side extension to create? Form Customizer

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:spfx-extensionsCategory: SharePoint Framework Extensionssharepoint-developer-supportsharepoint-developer-supporttype: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