Skip to content

[Bug]: Calendar component data source changes unexpectedly #1454

Closed
@lanedsmu

Description

@lanedsmu

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When editing a calendar component, one can tie the data to a data query succesfully, like this:
Image

If, while editing the app, one makes a change to the data, either by clicking on the calendar or by dragging an event, the data binding changes to the string literal of the current dataset:
Image

this breaks future bindings to the data query.

Expected Behavior

Like with other components, the data binding should not change unless explicitly modified.

Steps to reproduce

Create a calendar component and bind it to a data source (query, temporary state, etc).
While in design/edit mode, add an event to the calendar.
The data source will change to be the string literal of the current data displayed, replacing the original data source binding.

Environment

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Javascript FrontendPull requests that update Javascript code

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions