Behavior.js:119 TypeError: Cannot read properties of undefined (reading 'hasClassName')

Jenkins 2.263.4 upgrade to 2.346.3
but there is something wrong, where I choose a job and configure,enter into the configure page, the page style go wrong.
I open DevTools and choose console, a lot of errors like:
behavior.js:119 TypeError: Cannot read properties of undefined (reading ‘hasClassName’)
TypeError: Cannot read properties of undefined (reading ‘hasClassName’)
TypeError: Cannot read properties of undefined (reading ‘makeInnerVisible’)

Probably related to the configuration form modernization that happened in Jenkins 2.277.1.

Refer to the detailed steps in an earlier post

The dynamicparameter plugin is used in every job in my jenkins. But this plugin is deprecated. I can not remove. So which plugin can replace the dynamicparameter plugin?

I don’t recognize the dynamic parameter plugin. However, the active choices plugin seems to be a very popular plugin for more advanced parameter cases.

There is a blog post about it on another site:

There are also videos from AJAutomation on active choices plugin, including: