mikron-ia/rpg-hub

Make two separate allowed parameters list

Closed this issue · 0 comments

Parameters are a useful tool, but the current list of types is already partially deprecated (e.g., Parameter::EPIC_STATUS is no longer valid since Epic has the status built-in) and some may become such in the future (e.g. Parameter::SESSION_COUNT).

Therefore, aside from existing allowedParameterTypes(), there should be a separate method that provides a shorter list, limited only to those parameter types that are not deprecated. The add form should only display the shorter list, consider whether edit form should have the full or the short version.