Umbraco.CMS.Backoffice icon indicating copy to clipboard operation
Umbraco.CMS.Backoffice copied to clipboard

fix: ensure any property editor UIs save their initial value on the context

Open iOvergaard opened this issue 1 year ago • 1 comments

Description

This ensures that if, say, a textarea is saved with "rows=10" without touching the input box at all

Before image

After image

How to test

  1. Create a new data type
  2. Select textarea
  3. Hit save
  4. Verify that the default configuration is saved, i.e. rows=10

iOvergaard avatar May 02 '24 15:05 iOvergaard

I noticed that if the value is undefined, then the alias will be saved sort of without a value. We need to make sure that scenario works on the server.

iOvergaard avatar May 02 '24 15:05 iOvergaard