Open JohanHeyvaert opened 3 years ago
Make a form more compact and more readable (100% clear which label belongs to which control).
I like how it's done in both Angular Material (https://material.angular.io/components/input/overview) and Taiga UI (https://taiga-ui.dev/form).
Maybe the nzLayout attribute of nz-form could be extended with an extra possibility: floatingLabels?
This sounds like a request against the design language itself, in which case you should probably file it against https://github.com/ant-design/ant-design first.
What problem does this feature solve?
Make a form more compact and more readable (100% clear which label belongs to which control).
I like how it's done in both Angular Material (https://material.angular.io/components/input/overview) and Taiga UI (https://taiga-ui.dev/form).
What does the proposed API look like?
Maybe the nzLayout attribute of nz-form could be extended with an extra possibility: floatingLabels?