Hello,
Currently, the File Management module does not have a service for configuring uppy. But there is a workaround below to override uppy config.
// app.component.ts
import { FileManagementButtonsComponent } from '@volo/abp.ng.file-management';
import { Uppy } from '@uppy/core';
const afterViewInit = FileManagementButtonsComponent.prototype.ngAfterViewInit;
FileManagementButtonsComponent.prototype.ngAfterViewInit = function () {
afterViewInit.call(this);
(this.uploadService.uppy as Uppy).setOptions({
restrictions: { allowedFileTypes: ['.jpg', ...otherfiletypes] },
});
};
Hello,
Can you send your tsconfig.json?
Hello,
This issue is related to angular cli version 15.1.x. The problem was resolved with this commit, and the fix is available with 15.1.3 version. If the @angular/cli package version is '^15.x.x' or '~15.1.x' can you remove your yarn.lock file and re-install packages with yarn install
command. Otherwise, can you update @angular/cli package version to 15.1.3
Hello,
We are about to complete our work on downloading the scss source files. I'll let you know when it's available
Hello,
You can install it by running yarn add @volo/abp.ng.openiddictpro@6.0.2
command.
You can remove @volo/ng.abp.identity-server
package.
Steps for updating ABP 6.0 version
Hello,
Can you update CSP to the following?
"Content-Security-Policy": "connect-src authserverDemo-dev.azurewebsites.net backApiDemo-dev.azurewebsites.net; font-src 'self' fonts.gstatic.com; img-src 'self' abp.io data:; script-src-attr; script-src-elem 'self'; style-src-elem 'self' fonts.googleapis.com 'unsafe-inline'; form-action 'none'; frame-ancestors 'none'",
unsafe-inline policy needed for component styles. You can read more information in angular documentation
Hello,
You need to update the angular version to 14. ABP 6.0 version works with angular 14. You can update with ng update
command.
Also you need to install @volo/abp.ng.openiddictpro
package.
Hello
Ngx validate preconfigured by @abp/ng.theme.shared
package. You don't need to install it again by adding a dependency to your package.json. Because the theme shared package is already dependent on ngx-validate.
Can you send more info about your form?
Can you send an example project? (Please send us via mail. Do not update any public platforms)
Hello,
We created an internal issue for this bug.
Hello,
Can you send /.well-known/openid-configuration
endpoint response?