Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect integration options on widget creation #280

Closed
IlyaKhD opened this issue Jan 10, 2019 · 1 comment
Closed

Incorrect integration options on widget creation #280

IlyaKhD opened this issue Jan 10, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@IlyaKhD
Copy link
Contributor

IlyaKhD commented Jan 10, 2019

Issue Type

bug report

Description

The issue is related to all widgets that use templates

Demo

See https://codesandbox.io/s/0199y6zxwv (18.2.4)
Compare the options the Form created with to the ones in the example that used the v18.2.4-beta.1: https://codesandbox.io/s/y3q9n2n5yv

Current Behavior

IntegrationOptions added are incorrect:

  "integrationOptions": {
    "templates": {
      "items[0].template": {},
      "items[1].template": {},
      "tabs[0].template": {}
    }
  },
  "items[0].template": "items[0].template",
  "items[1].template": "items[1].template",
  "tabs[0].template": "tabs[0].template"

Expected Behavior

Correct integrationOptions added (actually, templates not required in this case)

Environment Details

  • devextreme-react version: 18.2.4 (regression, was PK in the 18.2.4-beta.1)
@IlyaKhD IlyaKhD added the bug Something isn't working label Jan 10, 2019
@IlyaKhD IlyaKhD changed the title Templates' Junk added to a widget options Incorrect integration options on widget creation Jan 10, 2019
@IlyaKhD IlyaKhD added this to the 18.2.5 milestone Jan 10, 2019
@IlyaKhD
Copy link
Contributor Author

IlyaKhD commented Jan 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant