Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How To Clear All fields except Mandatory ones

In My app i want to Clear All selected Fields except for Year and Month.

I have tried these, but nothing is working :

A. In the extension when i use app.clearAll() , its clearing all the fields including Year and Month

B. app.field('Year').clearOther(true);

    app.field('Month').clearOther(true);

   Year Field remain selected, but is clearing Month Field, along with other fields.

C. app.field('Year').lock();

    app.field('Month').lock();

    app.field('Year').clearOther(false);

    app.field('Month').clearOther(false);

     Year Field remain selected, but is clearing Month Field, along with other fields.

0 Replies