@wojtek1150/jsonforms-zorro-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta • Public • Published

JsonForms based on ng-zorro

Changelog

https://github.com/wojtek1150/json-forms-zorro-wrapper/releases

Documentation

See documentation at Plugion homepage For JsonSchema documentation check jsonforms core package For UI docs, see the documentation on ngzorro website.

Requirements

This plugin requires the following dependencies:

"ng-zorro-antd": "^15",
"lodash-es": "^4"
"ngx-quill": "^20"

They should be installed automatically as they are peer dependencies. However, if for some reason you are using legacy-peer-deps = true you need to add them to the package.json manually

Installation

npm install @wojtek1150/jsonforms-zorro-wrapper

Usage

Simply import JsonFormsZorroModule into your project

import { JsonFormsZorroModule } from '@wojtek1150/jsonforms-zorro-wrapper';

@NgModule({
  imports: [JsonFormsZorroModule],
})

If you are using DateField, remember to add your locale for ng-zorro as module providers, for example:

import { en_US, NZ_I18N } from 'ng-zorro-antd/i18n';

@NgModule({
  providers: [{ provide: NZ_I18N, useValue: en_US }],
  imports: [JsonFormsZorroModule],
})

Package Sidebar

Install

npm i @wojtek1150/jsonforms-zorro-wrapper

Weekly Downloads

111

Version

1.0.0-beta

License

MIT

Unpacked Size

2.12 MB

Total Files

198

Last publish

Collaborators

  • rasiaq
  • wojtek1150