[editor] Allow settings values to null
This is necessary to reset elements like radio button group. We use null for that instead of undefined. The check was in place before to make sure input fields only accept valid values (no text in a number field for example). Angular thinks a null value is valid so we have to do this extra check. This is now done directly in the template before calling the updateModel method.
Showing
- projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.html 1 addition, 1 deletion...e-view/properties-panel/element-properties.component.html
- projects/editor/src/app/unit-view/page-view/properties-panel/element-properties.component.ts 1 addition, 1 deletion...age-view/properties-panel/element-properties.component.ts
- projects/editor/src/app/unit-view/page-view/properties-panel/element-sizing-properties.component.ts 25 additions, 11 deletions...w/properties-panel/element-sizing-properties.component.ts
Please register or sign in to comment