Skip to content

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

@OvOo-oOvO

Description

@OvOo-oOvO

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions