Skip to main content

How to Enable “Do Not Stack on Mobile” by Default

How to Enable “Do Not Stack on Mobile” by Default

Khizar Tanveer avatar
Written by Khizar Tanveer
Updated over 3 months ago

Yes, you can set the Do Not Stack on Mobile option to be enabled by default by overriding the row tool’s configuration during editor initialization. Use the following code:

unlayer.init({

// ...,

tools: {

rows: {

properties: {

noStackMobile: {

editor: {

_override: {

mobile: {

defaultValue: true,

},

},

},

},

},

},

},

});

Did this answer your question?