Draft: Fix list field creation for Profiles

Checking if current request is ajax-based to prevent error during creation of list fields in Profile entity

Closes #3535487

Merge request reports

Loading