WIP migrate attribute management to partial editing with 4 new features! See #1222.

New features include:

 - New clarity between null and empty string attributes
 - Attribute editing now shows appropriate UI widgets depending on data type
 - Attribute editing for enumerations now show a dropdown
 - Attribute editing is now schema sensitive
This commit is contained in:
Dion Moult
2021-01-05 13:16:31 +11:00
parent d4a219e54f
commit 30b3090386
13 changed files with 292 additions and 114 deletions
@@ -13,5 +13,5 @@ class Data:
cls.products[product_id] = {
"type": product.is_a(),
"PredefinedType": product.PredefinedType if hasattr(product, "PredefinedType") else None,
"ObjectType": product.ObjectType or None
"ObjectType": product.ObjectType if hasattr(product, "ObjectType") else None
}