How to add custom user fields?

How to add custom user fields ?

In your config config/config.php you can define custom fields to extend account information

<?php

return [

    'account' => [
        'fields' => [

            'adress' => [
                'type' => 'text',
                'label' => 'textarea',
            ],

            'phone' => [
                'type' => 'text',
                'label' => 'Telephone Number'
            ]
        ]
    ],

];


2 Likes

Hi @artur , I could add custom fields to user object, however, there is no UI like v1. Any work around with this?