on 2024 Jan 10 6:26 PM
I Want input with label like this .please help to achieve this by xml viewer
Here is my simple form code
<f:SimpleForm editable="true" layout="ResponsiveGridLayout" labelSpanXL="12" labelSpanL="12" labelSpanM="12" labelSpanS="12"
adjustLabelSpan="false" emptySpanXL="0" emptySpanL="0" emptySpanM="0" emptySpanS="0" columnsXL="1" columnsL="1" columnsM="1"
singleContainerFullSize="false" class="sapUiNoMarginTop" >
<f:content>
<core:Title/>
<Label text="Enter your ID" class="sapUiNoMarginTop"/>
<Input value="{/UserId}" width="100%" class="inputDesign" valueState="None" liveChange="onLive"/>
<Label text="Enter your Password" class="sapUiSmallMarginTop"/>
<Input value="{/Password}" liveChange="onLive" width="100%" showValueHelp="true" valueHelpRequest="onPassword" />
</f:content>
</f:SimpleForm>
css
.sapUiForm .sapUiFormElementLbl>.sapMLabel {
height: auto;
position: relative;
top: 0.5rem;
margin: 0 0 0 7px;
width: fit-content;
padding: 0 3px;
}
Output for form
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
48 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.