Giter Site home page Giter Site logo

Comments (7)

tmcgee avatar tmcgee commented on July 1, 2024 1

@ERS-Long The Smart Editor widget is another more "evolved" WAB widget for editing. It is a newer widget so is more robust than the WAB and CMV Editor widgets that rely on the antiquated Esri Editor Toolbar.

I have that widget working as well.

Some time soon, I will commit the changes into this repo to allow these widgets to work.

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 1, 2024

@ERS-Long Which version of CMV and which version of Web App Builder?

from cmv-wab-widgets.

ERS-Long avatar ERS-Long commented on July 1, 2024

I tried most current CMV (3.26) with WAB 2.9. (if change api from 3.26 to 3.21, then no error).

Thanks,

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 1, 2024

@ERS-Long Are you using the CMV Identify widget with:

defaultMapClickMode: 'identify',

in the config. file?

Changes in the Esri Editor Toolbar are causing the endless recursion. It is in confict with this section of the WAB Mixin. Presently, I don't have a work-around for all cases. But if you are not using identify, you can possibly solve this by removing the defaultMapClickMode or commenting out the section of code in the MixIn. I can verify this solves the issue but may not be acceptable for your application.

from cmv-wab-widgets.

ERS-Long avatar ERS-Long commented on July 1, 2024

@tmcgee Got it, that is why. Yes, I can comment out the wab mixin map click section code.

Thanks for your tip, as aways, it just works!!

:)

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 1, 2024

@ERS-Long When using this cmv-wab-widgets, another consideration is to use the WAB Edit widget. It doesn't work in the current version of cmv-wab-widgets for reasons not directly related to the Edit widget itself. Thanks to your question, I have explored the issue and have the Edit widget working locally. πŸ˜„

from cmv-wab-widgets.

ERS-Long avatar ERS-Long commented on July 1, 2024

Good to know, try to stay away from default WAB widgets as far as possible, use them only when i have to as the last resort. :) That being said, I tried to load the WAB default edit widget in, no luck, when you have time if you could share your trick to get that work in CMV, that will be great. But not urgent, only when you have time. Thanks!

from cmv-wab-widgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.