-
-
-
-
Empty
-
- Type something in the searchbar.
-
+ if (props.searchText === '') {
+ return (
+
+
+
- );
+
Empty
+
+ Type something in the searchbar.
+
+
+ );
+ } else {
+ let editEntries = props.matchedEntries.map((mObj: any) => {
+ let uniqueKey = mObj.guid[0] + '#' + mObj.$.id;
+ return (
);
+ });
+ let addProps = {};
+ _.set(addProps, props.searchLens, props.searchText);
+ editEntries.push(
);
+ return editEntries;
}
}
@@ -167,7 +165,12 @@ class LexEdit extends React.Component
{
return this.getLabelField(e, searchLensMap[e], li);
});
return (
-
+
@@ -207,7 +210,11 @@ class LexField extends React.Component {
return (
-