@onehat/ui 0.3.298 → 0.3.300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -918,7 +918,7 @@ function Form(props) {
|
|
|
918
918
|
</Toolbar>;
|
|
919
919
|
}
|
|
920
920
|
if (editorMode === EDITOR_MODE__EDIT && !_.isEmpty(additionalButtons)) {
|
|
921
|
-
formButtons.push(<Toolbar justifyContent="flex-end" flexWrap="wrap">
|
|
921
|
+
formButtons.push(<Toolbar key="additionalButtonsToolbar" justifyContent="flex-end" flexWrap="wrap">
|
|
922
922
|
{additionalButtons}
|
|
923
923
|
</Toolbar>)
|
|
924
924
|
}
|
|
@@ -101,7 +101,7 @@ function Viewer(props) {
|
|
|
101
101
|
if (type?.match && type.match(/Combo$/) && Repository?.isRemote && !Repository?.isLoaded) {
|
|
102
102
|
editorTypeProps.autoLoad = true;
|
|
103
103
|
}
|
|
104
|
-
if (type
|
|
104
|
+
if (type?.match(/(Tag|TagEditor)$/)) {
|
|
105
105
|
editorTypeProps.isViewOnly = true;
|
|
106
106
|
}
|
|
107
107
|
const Element = getComponentFromType(type);
|