Skip to content

Trash is disabled while programatically selecting feature from draw using direct select #717

@jithintomz

Description

@jithintomz

I am trying to select a newly created object in draw in code.

created_ids = draw.add(draw_feature); draw.changeMode('direct_select',{featureId:created_ids[0]});

The feature gets selected,but delete does not work on clicking trash icon.
When I deselect and reselect the feature using pointer delete works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiAPI & programatically working with librarybuguiButtons & user interactions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions