Use ajax to submit the set field value.
spotony - 2 years ago
I am using the pyrocms development store in the development user address. Each user can have one or more addresses. When using stream. Set the user id field to multiple-type type. Create ui is written independently. After the submission suggested that the wrong user_id not set the default value, ask how to use ajax address stream to set up the current user. request: region:贵州省, 贵阳市, 南明区 address:富源南路223号 address_alias:中国xxxx mobile:188xxxxxx location: posts_code:
'member' => [ 'type' => 'anomaly.field_type.relationship', 'config' => [ 'mode' => 'lookup', 'related' => Anomaly\UsersModule\User\UserModel::class, ], ],