Open pentzzsolt opened 4 years ago
Hi, this sounds like a bug. user-assistance-density attribute is new in v9.0.
user-assistance-density defaults to 'efficient' when it is inside an oj-form-layout, and 'reflow' when not inside of an oj-form-layout. It sounds like something is happening with oj-select-single when you fill it out that causes the user-assistance-density to default back to 'reflow'. Perhaps it is refreshing itself and that blows away the way the property binding defaulting mechanism. I'll take a look. It sounds easily reproducible. Thanks for reporting it.
Jeanne
I took a look at it and it is an easy-to-fix bug with nesting oj-form-layout and the propagation of the user-assistance-density.
Using JET 9.0.0, Redwood theme, given the following markup:
After filling out the fields in the nested
<oj-form-layout>
component, the spacing between those fields and the one under them collapses. Explicitly settinguser-assistance-density
to the default valueefficient
on either the outer or the inner<oj-form-layout>
component fixes this issue.