Skip to content

Location not updating from frontend form #34

@vosco88

Description

@vosco88

Hi,
I have user plus installed everythings works great the only thing that was causing me trouble was updating country and state from frontend user profile page.

After I've put this part of code for country
$model->addFillable(['country_id']);
into the Plugin.php in the extendUserModel() function after implement declaration $model->implement[] = 'RainLab.Location.Behaviors.LocationModel'; it starts working. Not quite sure if this is a bug with this plugin or with the Location, or if I am doing something wrong here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions