You need to sign in to do that
Don't have an account?
Kalpesh Vyas 14
show ui:inputRadio in Horizontal directions.
Hello,
I am seeing that using ui:inputRadio shows it in Vertical direction, is any better way to show them in horizontal direction?
<b>Radio Buttons - Group</b>
<ui:inputRadio aura:id="r0" name="others" label="Prospecting" />
<ui:inputRadio aura:id="r1" name="others" label="Qualification" value="true"/>
I put it them in different div and then only they are horizontal align. Is it correct way?
I am seeing that using ui:inputRadio shows it in Vertical direction, is any better way to show them in horizontal direction?
<b>Radio Buttons - Group</b>
<ui:inputRadio aura:id="r0" name="others" label="Prospecting" />
<ui:inputRadio aura:id="r1" name="others" label="Qualification" value="true"/>
I put it them in different div and then only they are horizontal align. Is it correct way?
You can use below code to get the desired result .
You can put the label after or before from <ui:inputRadio /> .
From my side the slds class is the best way to do so.
Hope This this will help you .
If this answers your query please mark this question as a solved so that it can be filtered out from unsolved questions.
Regards
Akshay