diff --git a/@rbv b/@rbv
index 5077481be..cf372ef8f 160000
--- a/@rbv
+++ b/@rbv
@@ -1 +1 @@
-Subproject commit 5077481be27b5c21e2ecc687149718f9498c19a8
+Subproject commit cf372ef8fec69b191700374676b2c994d12ae8b7
diff --git a/src/main/java/com/rebuild/core/metadata/impl/EasyMeta.java b/src/main/java/com/rebuild/core/metadata/impl/EasyMeta.java
index 78fdc8871..aa160916e 100644
--- a/src/main/java/com/rebuild/core/metadata/impl/EasyMeta.java
+++ b/src/main/java/com/rebuild/core/metadata/impl/EasyMeta.java
@@ -118,6 +118,7 @@ public class EasyMeta implements BaseMeta {
*
* @param name
* @return
+ * @see FieldExtConfigProps
*/
public String getExtraAttr(String name) {
return getExtraAttrs().getString(name);
diff --git a/src/main/java/com/rebuild/web/commons/MetadataGetting.java b/src/main/java/com/rebuild/web/commons/MetadataGetting.java
index 36730269d..d115c4832 100644
--- a/src/main/java/com/rebuild/web/commons/MetadataGetting.java
+++ b/src/main/java/com/rebuild/web/commons/MetadataGetting.java
@@ -19,6 +19,7 @@ import com.rebuild.core.metadata.MetadataHelper;
import com.rebuild.core.metadata.MetadataSorter;
import com.rebuild.core.metadata.impl.DisplayType;
import com.rebuild.core.metadata.impl.EasyMeta;
+import com.rebuild.core.metadata.impl.FieldExtConfigProps;
import com.rebuild.core.privileges.PrivilegesManager;
import com.rebuild.core.support.state.StateHelper;
import com.rebuild.web.BaseController;
@@ -167,12 +168,14 @@ public class MetadataGetting extends BaseController {
map.put("updatable", field.isUpdatable());
DisplayType dt = EasyMeta.getDisplayType(field);
- if (dt == DisplayType.REFERENCE) {
+ if (dt == DisplayType.REFERENCE || dt == DisplayType.N2NREFERENCE) {
Entity refEntity = field.getReferenceEntity();
Field nameField = MetadataHelper.getNameField(refEntity);
map.put("ref", new String[]{refEntity.getName(), EasyMeta.getDisplayType(nameField).name()});
} else if (dt == DisplayType.STATE) {
map.put("stateClass", StateHelper.getSatetClass(field).getName());
+ } else if (dt == DisplayType.CLASSIFICATION) {
+ map.put("classification", easyField.getExtraAttr(FieldExtConfigProps.CLASSIFICATION_USE));
}
return map;
}
diff --git a/src/main/resources/web/.eslintrc.js b/src/main/resources/web/.eslintrc.js
index 6a4c52897..f916eb44e 100644
--- a/src/main/resources/web/.eslintrc.js
+++ b/src/main/resources/web/.eslintrc.js
@@ -91,7 +91,6 @@ module.exports = {
ConfigFormDlg: true,
RbPreview: true,
$countdownButton: true,
- ChartSelect: true,
Share2: true,
$stopEvent: true,
$addResizeHandler: true,
@@ -105,6 +104,7 @@ module.exports = {
$fromNow: true,
$expired: true,
$L: true,
- $isTrue: true
+ $isTrue: true,
+ $fieldIsCompatible: true
},
}
diff --git a/src/main/resources/web/admin/metadata/auto-fillin.html b/src/main/resources/web/admin/metadata/auto-fillin.html
index 0fff66c3b..cb50e615b 100644
--- a/src/main/resources/web/admin/metadata/auto-fillin.html
+++ b/src/main/resources/web/admin/metadata/auto-fillin.html
@@ -114,6 +114,7 @@
referenceEntity: '[[${referenceEntity}]]',
}
+