Questions tagged [angular6-json-schema-form]

40 questions
7
votes
3 answers

Angular 6 Prod Function calls are not supported in decorators but '..Module' was called

I have this error when trying to use angular2-json-schema-form & build in prod ERROR in Error during template compile of 'DemoModule' Function calls are not supported in decorators but 'JsonSchemaFormModule' was called. I found out that the…
Melchia
  • 22,578
  • 22
  • 103
  • 117
5
votes
5 answers

nebular menu parent active class not working

I am using nebular with Angular 6, facing an issue while clicking on menu item , active class on parent menu item not added. but if you see the http://akveo.com/ngx-admin, while you click on ""buttons" inside "UI-features" them UI-features get…
Rakesh Singh
  • 211
  • 1
  • 5
  • 15
4
votes
0 answers

How to use angular6-json-schema-form with NoFramework module right?

I've installed angular6-json-schema-form. When I use the MaterialDesignFrameworkModule as in the example in documentation it works fine: import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import {…
Hubert Kubiak
  • 607
  • 1
  • 7
  • 30
3
votes
1 answer

Angular-6-JSON schema form Error: Nested Arrays getControl error: Unable to find "0" item in FormGroup

Hello I'm currently working on a project that uses JSON schema form Keep getting the following error when using a layout for nested arrays which have recursive schema references Nested Arrays getControl error: Unable to find "0" item in…
3
votes
3 answers

I have an error (The Schematic workflow failed) in Angular 7

I installed angular 7 in my windows 10 and the version of my configurations are : Node : v11.8.0 npm : 6.7.0 Angular CLI: 7.2.3 Node: 11.8.0 OS: win32 x64 Angular: ... Package …
2
votes
3 answers

Passing multiple values in JSON.stringfy in angular6

I tried to pass multiple values to API using JSON.stringfy(). I don't know why my second value is not passing. This is the code of my attempt: getUserDetails(email,…
2
votes
0 answers

need to Convert a string to objects [Angular 6]

I am trying to convert a string in an object which is having function a value. like this for (let i = 0; i < this.dataSource.data.length; i++) { let control = this.formShipment.controls['User']; var a; if…
1
vote
0 answers

Cursor jumps to the end in Angular6 Json Schema Form input field

If you are using 2-way binding for the data: Edit an input from the beginning or middle of the string. You will notice after the first character, the cursor will move to the end of the line. Can someone help with a workaround with this or is there…
Vikram
  • 33
  • 5
1
vote
1 answer

angular6-json-schema-form issue with multi-select form change event

The current implementation for multi-select doesn't show because here for type 'array' and 'enum' it shows 'checkboxes'. So, I have overridden that behavior in the following way: myCustomWidgets = { …
1
vote
1 answer

How to configure form field required validation required or not using property file

How to configure form field required validation required or not using property file. Eg: we have many form fields. Name , Age , Address Using config file want to make Name and Age required. Later if need want to make Age as optional. How can we…
SSSS
  • 205
  • 2
  • 8
  • 18
1
vote
1 answer

Angular6 JSON schema form for Array of Items

I am trying out Angular6 JSON form for my application and stuck in the issue of having array schema The basic layout looks like { "schema": { "type": "array", "properties": { "type": { "type": "string" }, …
Ishaan Puniani
  • 646
  • 2
  • 10
  • 23
1
vote
2 answers

unable get data from shared service in angular 6

Am trying to share json data from one component to another component (like parent to child) .using a service.I have two methods in this service one for setJsonData and other is getJson Data. Service Class import { Injectable } from…
arj
  • 887
  • 1
  • 15
  • 37
1
vote
1 answer

how action buttons works in Angular 6-json-schema-form

I am trying to understand below JSON base form. I am not able to figure out from where that yellow button "Add Phone number" comes from and how it trigger event to replicate more phone…
fresher
  • 399
  • 4
  • 23
1
vote
1 answer

Getting schema with key or id already exists error while using Angular6-json-schema-form library

I am using Angular6-json-schema-form library and included import { Bootstrap4FrameworkModule } from 'angular6-json-schema-form' in the app.module.ts file. Also i created a JSON schema object in the component file and used the below in the…
1
vote
1 answer

How to select file and upload file using Angular 6 in reactive forms

Here we need to Add Test case, For that we need to upload a file using input type file using angular 6 in reactive Forms. while Uploading a file and sending as response to API,we are getting Response in the headers as test_template:…
1
2 3