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

w2form with label and input align in same column #2605

Open
vinhpt2 opened this issue Jan 10, 2025 · 2 comments
Open

w2form with label and input align in same column #2605

vinhpt2 opened this issue Jan 10, 2025 · 2 comments

Comments

@vinhpt2
Copy link

vinhpt2 commented Jan 10, 2025

Hi All!
In modern UI now have form with label and input align in the same column (label above the input). So is there any options of w2form to do that (now only option label on the left of input). Thanks!
By the way, w2toolbar and w2sidebar (in collapse mode) will very helpful if have option to change UI like ribbon toolbar in MS Word that bigger icon on top and text.

@vitmalina
Copy link
Owner

https://w2ui.com/web/demos/#/form/12 - labels above input

As for the second item, can you provide a screenshot.

@vinhpt2
Copy link
Author

vinhpt2 commented Jan 10, 2025

Thank you, I now can use span=-1 to align label above input in w2form. But there is still a small not-fit is that when the field is required=true the red * mark is go with input not go with label.
{FD288F62-6659-47F8-B320-94BDDD0F06D9}

This is the ribbon w2toolbar idea
image

This is the bigger icon and text below w2sidebar in collapse mode idea
image

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants