shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
384 stars 75 forks source link

Error `Cannot read properties of undefined (reading 'uid')` displayed when using onChange code editor of Dropdown component #2460

Closed hlayisanimazuze closed 2 days ago

hlayisanimazuze commented 2 days ago

When navigating to the onChangecode editor of the Dropdown component, an error Cannot read properties of undefined (reading 'uid') Steps to reproduce the behavior:

  1. Go to 'https://functional-adminportal-test.azurewebsites.net/shesha/forms-designer?id=4443fa48-0790-490a-8d43-2ec210cf7f43'
  2. Open developer console
  3. Drag and drop dropdown component
  4. From the properties panel, scroll down to events section and click onChange code editor
  5. See error thrown on console
  6. Actual Results: image

Expected behavior The onChange code editor should open without any errors

image

hlayisanimazuze commented 2 days ago

Hi @AlexStepantsov, please check if this is not caused by your latest changes