Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

how to give dummy values to angular formio form #449

@swkasi535

Description

@swkasi535

I have created a username and password with submit button page using formio builder
and I have shown in the page by taking that script from the database.
The page is visible now. On this rendered page I want to show a dummy username and password when clicked on a button.

Basically I want to access the username and password in the angular component and I need to modify them.
Eg:- In angularJS, we can access that with ng-model like $scope.ngModel.
And In angular formio how can we access that in a component.

I can achieve the same in html it self.

<formio [form]="obj"[submission]='{
"data": {
"userName": "Joe",
"password": "Smith"
}
}'>

But I need to achieve this from angular component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions