File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ import {
15
15
arrayStringExposingStateControl ,
16
16
withMethodExposing ,
17
17
AutoHeightControl ,
18
- withExposingRaw ,
19
- fromRecord
18
+ withSimpleExposing ,
20
19
} from "lowcoder-sdk" ;
21
20
import styles from "./styles.module.css" ;
22
21
import { i18nObjs , trans } from "./i18n/comps" ;
@@ -349,15 +348,11 @@ GEOComp = class extends GEOComp {
349
348
}
350
349
} ;
351
350
352
- /*
353
- GEOComp = withExposingRaw(GEOComp, {},
354
- (comp: any) => {
355
- return fromRecord({
356
- feature: comp.exposingValues.event['click:feature'] || {},
357
- });
358
- }
359
- );
360
- */
351
+
352
+ //Expose object
353
+ GEOComp = withSimpleExposing ( GEOComp , ( comp : any ) => ( {
354
+ feature : comp . exposingValues . event [ 'click:feature' ] || { } ,
355
+ } ) ) ;
361
356
362
357
/**
363
358
* Exposes methods on GEOComp component to allow calling from parent component.
You can’t perform that action at this time.
0 commit comments