emory-libraries/web-enhance

Column layout component padding behavior edit

Opened this issue · 2 comments

Is your feature request related to new functionality not yet included in the product? Please describe.
no

Is your feature request related to a problem or a change to existing functionality? Please describe.
Problem (unexpected behavior):

In Column Layout Components, changing "Padding Top and Bottom" field (setting “none”) and saving works as intended.

But when reopening that column layout component for editing, the padding setting automatically reverts to “top and bottom.” This doesn’t occur if “top and bottom”, “top only”, or “bottom only” have been previously chosen.

Describe the solution you'd like
If "none" previously chosen, it remains that way when reopening the component edit window.

Describe alternatives you've considered
Set padding field to default to "none" rather than "top and bottom."

How will this impact users?
Czars and SMEs won't have to remember to reset the padding field when opening up to edit anything else in the component.

Additional context
Add any other context or screenshots about the feature request here.

changing the default should not be a problem. making the last selection sticky might not be possible.

It is not that it's not the default, it is clearing out what was selected. This only seems to be happening on the "column layout"
Even setting the default as none would help though.