To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I am using CustomLayout and I have few required fields on the form. Currently the required fields display the red asterisk above the field. How can I get it display the red asterisk on the left side of the field, like in the FormLayout?
CustomLayout always renders the default component caption (including the optional icon, error indicator and required indicator) on top of the field. There's no built-in way of moving it to another place.
You could try moving the caption using CSS, or you could perhaps wrap your fields with extra FormLayout instances. Or, you could hide the generated indicator and provide your own indicator. Just place a Label beside your field and style it as you wish.