You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I have a case which I cannot binding the existing schema data to array widget.
In component A, I have: <sf-form *ngIf="showSchema" [schema]="schema" [validators]="fieldValidators" [actions]="actions" [(model)]="schemaData "> </sf-form>
where I render the initSchemaValue as the init data for the sf-form and I create an array-widget.component.ts: export class IonicArrayWidgetComponent extends ArrayWidget implements AfterViewInit
with html :
The problem is that I cannot bind the data to the schema template as initial data. In the array-widget, I see that the formProperty.properties is not received the schemaData:
which it should be look like this:
Can anyone help me with this cases,
Thank you!
The text was updated successfully, but these errors were encountered:
createProperty eventually calls initializeRoot which effectively resets the array values. again in form.component there is this line which is commented out
if (this.model) {
// this.rootProperty.reset(this.model, false);
}
Hi everyone,
I have a case which I cannot binding the existing schema data to array widget.
In component A, I have:
<sf-form *ngIf="showSchema" [schema]="schema" [validators]="fieldValidators" [actions]="actions" [(model)]="schemaData "> </sf-form>
where I render the initSchemaValue as the init data for the sf-form and I create an array-widget.component.ts:
export class IonicArrayWidgetComponent extends ArrayWidget implements AfterViewInit
with html :
Here is the schema and data:
The layout will look like this:
The problem is that I cannot bind the data to the schema template as initial data. In the array-widget, I see that the formProperty.properties is not received the
schemaData
:which it should be look like this:
Can anyone help me with this cases,
Thank you!
The text was updated successfully, but these errors were encountered: