Activities of "Anjali_Musmade"

Hello

Please check this link https://abp.io/docs/latest/modules/identity#roles

Thank you.

At my side its work Video

Hello

At my side i have check its work fine can you please share some steps to reproduce this issue

Thank you.

Thank you :)

Hello

Please chek this link https://abp.io/support/questions/7298/Angular-Identity-and-Account-form-extensions-set-default-value-using-extra-properties#answer-3a1303f3-aadd-04de-88e5-250c8dbb773f

Thank you

Can you share your sample code and steps to reproduce this issue.

Hello

Can you once try to this code If it is helpful for you.

        options: data =>
            {
                const service = data.getInjected(UserService);
                return service
                    .getList({
                        filterText: '',
                        roleName: UserRole.Admin + ',' + UserRole.CountryManager + ',' + UserRole.LineManager,
                        isFromEditUser: true
                    })
                    .pipe(
                        map((data: UserDto[]) => {
                            const items = data.filter(x => !x.isLockedOut);
                            // Find the user marked as default
                            const index = items.findIndex(x => x.isDefault);
                            const userDefault = index !== -1 ? `${items[index].id}` : null; // Handle case where no default user exists
                            
                            // Return both the options and the default value
                            return {
                                items: items.map(item => ({
                                    key: item.fullName,
                                    value: item.id
                                })),
                                defaultValue: userDefault
                            };
                        })
                    );
            },
        defaultValue: data => data.defaultValue, // Bind the default value here
        isExtra: prop.isExtra,
        // Your validation logic
    });
}

Thank you

Hello

Can you check once appsettings.json and BookStoreHttpApiHostModule.cs file code.

Thank you.

Hello

In abp studio when you are creating a project there is option to create sample CURD page.

Thank you.

Can you update your code as per this file

Showing 1 to 10 of 1279 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09