Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SF] [Form] More flexible layout customization #5068

Open
1 task
2bno1 opened this issue Sep 18, 2023 · 7 comments
Open
1 task

[SF] [Form] More flexible layout customization #5068

2bno1 opened this issue Sep 18, 2023 · 7 comments
Labels
feature-request New feature or request SAP SF

Comments

@2bno1
Copy link
Contributor

2bno1 commented Sep 18, 2023

Is your feature request related to a problem?

Currently, there're 2 limitation of the form layout so it not satisfy SuccessFactor's design requirement.

  1. No way to configure the vertical label layout
  2. No way to configure the span of a form group

Look at the design below.

  1. All the labels in form are at the top of the input
  2. Group 1 which contains much more fields, occupies 2/3 columns of the whole form.

From the current API of Form/FormGroup, I don't find a way to achieve this design.

image

Describe the solution you'd like

Form/Form Group provides API to configure

  1. Label layout (horizontal or vertical)
  2. Spans of each Form Group

Describe alternatives you've considered

No response

Additional Context

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@2bno1 2bno1 added the feature-request New feature or request label Sep 18, 2023
@2bno1
Copy link
Contributor Author

2bno1 commented Oct 12, 2023

What's the plan for this feature request? As this feature is required for SF's design pattern, it would be better if it can be put at higher priority.
Thanks.

@Lukas742
Copy link
Contributor

Hi @2bno1

For this feature, we will most likely need to rework the entire form component. So at the moment we can't give you an estimate when we will be done with it, but unfortunately I don't think we can implement it this quarter.

@2bno1
Copy link
Contributor Author

2bno1 commented Oct 23, 2023

@ilhan007
Copy link
Member

Hi @2bno1 I noticed that the Link of the Switch, is not on Top, but on the side, is that on purpose. All other labels are placed on top?

@rvsia
Copy link

rvsia commented Jan 31, 2024

+1

At Signavio, we also need to support different spanning of Form Groups

https://openui5.slack.com/archives/CSQEJ2J04/p1706607970091189

@2bno1
Copy link
Contributor Author

2bno1 commented Feb 5, 2024

Hi @2bno1 I noticed that the Link of the Switch, is not on Top, but on the side, is that on purpose. All other labels are placed on top?

@ilhan007 Thanks for pointing this out. I need to confirm this with my UX.

@2bno1
Copy link
Contributor Author

2bno1 commented Feb 26, 2024

@ilhan007 I've checked with my UX, the label of Switch should also be on top. Thanks.

@Lukas742 Lukas742 added the SAP SF label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request SAP SF
Projects
Status: Future
Development

No branches or pull requests

4 participants