why i cant add a button widget in a column component , it says that the column component cant take button widget
Discussion posts and replies are publicly visible
To use a button widget, we have to use either a button layout or a button array layout. Further, if you want to use a button inside a column, you can use the code attached below.
{ a!columnsLayout( columns: { a!columnLayout( contents: { a!buttonArrayLayout( buttons: { a!buttonWidget( label: "Button", style: "NORMAL" ) }, align: "START" ) } ), a!columnLayout( contents: {} ) } ) }