cancel
Showing results for 
Search instead for 
Did you mean: 

How can i clear all the content i input in the wizard (sap.m.wizard)

former_member624832
Participant
0 Kudos

when i use a wizard floorplan in a fioir app;

if i want to clear all the content i input use cancle button, which method i can chose.

it seems the discardprocess() and destroycontent() not work.

View Entire Topic
maheshpalavalli
Active Contributor
0 Kudos

I don't think those methods are for clearing the data. You probably have to clear all those inputs manually using input.setValue("").

But it's not the best/recommended way, if you have binding assigned for those input fields, then simply reset the model or clear the required properties in that model..

If u are using binding then u start using, it makes life easier.

former_member624832
Participant
0 Kudos

it is a good suggestion. i just go it. and clear content success.