Skip to main content
Bumped by Community user
Bumped by Community user

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer"<p slot ="footer">. The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

<p slot= "footer">slot="footer">   <lightning-button   class="slds-float_none"   variant="neutral"   label="Cancel"   title="Cancel"   onclick={handleCancel}>   </lightning-button>   <lightning-button   class="slds-float_none"   variant="brand"   label="Save"   title="Save"   onclick={handleSave}>   </lightning-button>   <lightning-input type='checkbox' label="Red">  type="checkbox" <label="Red"></lightning-input> </p> 

Should I be using normal footer and lightning-layout/Layout-item instead?

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer" The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

<p slot= "footer">   <lightning-button   class="slds-float_none"   variant="neutral"   label="Cancel"   title="Cancel"   onclick={handleCancel}>   </lightning-button>   <lightning-button   class="slds-float_none"   variant="brand"   label="Save"   title="Save"   onclick={handleSave}>   </lightning-button>   <lightning-input type='checkbox' label="Red">   </lightning-input> </p> 

Should I be using normal footer and lightning-layout/Layout-item instead?

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card <p slot ="footer">. The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

<p slot="footer"> <lightning-button class="slds-float_none" variant="neutral" label="Cancel" title="Cancel" onclick={handleCancel}> </lightning-button> <lightning-button class="slds-float_none" variant="brand" label="Save" title="Save" onclick={handleSave}> </lightning-button> <lightning-input type="checkbox" label="Red"></lightning-input> </p> 

Should I be using normal footer and lightning-layout/Layout-item instead?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer" The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

 
<p slot= "footer"> <lightning-button class="slds-float_none" variant="neutral" label="Cancel" title="Cancel" onclick={handleCancel}> </lightning-button> <lightning-button class="slds-float_none" variant="brand" label="Save" title="Save" onclick={handleSave}> </lightning-button> <lightning-input type='checkbox' label="Red"> </lightning-input> </p> 

Should I be using normal footer and lightning-layout/Layout-item instead?

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer" The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

 

Should I be using normal footer and lightning-layout/Layout-item instead?

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer" The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

<p slot= "footer"> <lightning-button class="slds-float_none" variant="neutral" label="Cancel" title="Cancel" onclick={handleCancel}> </lightning-button> <lightning-button class="slds-float_none" variant="brand" label="Save" title="Save" onclick={handleSave}> </lightning-button> <lightning-input type='checkbox' label="Red"> </lightning-input> </p> 

Should I be using normal footer and lightning-layout/Layout-item instead?

deleted 7 characters in body
Source Link
Eliana
  • 5
  • 1
  • 5

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer" The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

. The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

Should I be using normal footer and lightning-layout/Layout-item instead?

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card

. The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

Should I be using normal footer and lightning-layout/Layout-item instead?

I am trying to add a checkbox next to the save button. The save and the cancel buttons are inside a lightning card P slot ="footer" The checkbox does not appear in the same row as that of the save and cancel buttons. It's appearing in the next row.

My code:

Should I be using normal footer and lightning-layout/Layout-item instead?

Source Link
Eliana
  • 5
  • 1
  • 5
Loading