udos86 / ng-dynamic-forms

Rapid form development library for Angular
ISC License
1.32k stars 369 forks source link

Adding ngx-mask to ng-dynamic-forms/core #1179

Open OvOo-oOvO opened 1 year ago

OvOo-oOvO commented 1 year ago

I'm submitting a


[x] Bug / Regression
[ ] Feature Request / Proposal

I'm using


NG Dynamic Forms Version: `15.0.0`

[x] Basic UI
[ ] Bootstrap UI  
[ ] Foundation UI
[ ] Ionic UI
[ ] Material  
[ ] NG Bootstrap
[ ] Prime NG

Description

When I downloaded only the core module of ng-dynamic-forms to use, I encountered the following error during compilation:

‘./node_modules/@ng-dynamic-forms/core/fesm2020/core.mjs:7:0-41 - Error: Module not found: Error: Can't resolve 'ngx-mask' in 'D:\project\fork\net-ui\node_modules@ng-dynamic-forms\core\fesm2020'

Error: node_modules/@ng-dynamic-forms/core/lib/model/input/dynamic-input.model.d.ts:4:25 - error TS2307: Cannot find module 'ngx-mask' or its corresponding type declarations.

4 import { IConfig } from "ngx-mask";’

I checked the package.json file under the core module and found that the dependency on ngx-mask is not specified. I think it is necessary to add this dependency so that users who only need the core module can use it normally.

dzy303663 commented 1 year ago

mark