Character filter for TextField and PopupField with disabled items

I’m trying to create some custom editor tools and I found it is really hard to expend UIElements’s built in VisualElement, because there are too many internal APIs used (beautiful :slight_smile: ).
Hope Unity can add this two features:

  • Character filter for TextField.
  • PopupField with disabled items.

By the way, in UIElements, there are a lot of useful public classes but some of its key method is internal (BasePopupField.AddMenuItems(), TextInputBase, etc.) , why not to make them public?

In BasePopupField.cs, there is a ‘m_Choices’ field and a ‘choices’ property, but many BasePopupField’s child class are using ‘m_Choices’ field directly but not ‘choices’ property, it is really a bad practice !

8451683--1121213--upload_2022-9-20_12-42-19.png