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
367 stars 66 forks source link

Failure to prepopulate relevant additional fields for components requiring them upon selection #841

Closed hlayisanimazuze closed 7 months ago

hlayisanimazuze commented 8 months ago

On any component that supports reference list data type or autocomplete component, when you interchange the dataSourceType, the additional properties are not displayed immediately upon selecting, requires manual refresh. Drag a buttonGroup component and configure it, from the buttons type, select custom/interchange between the options

Components affected

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=3304c5ea-8801-46fc-8a9f-bbd6e6ce23bc'
  2. Click on dropdown, radio and checkboxgroup and autocomplete components
  3. Scroll down to 'dataSourceType'
  4. Select another option from what is shown e.g. reference list
  5. Actual Results: The relevant additional field such as reference list autocomplete does not show
  6. Move from one component back to the selected one/Save the changes and refresh
  7. Navigate to the component
  8. Actual Results: The relevant additional field does show

Expected behavior Immediately when a user selects a dataSourceType, the relevant additional field(s) should display

image

image

image

image

image

image

Tshepiso-R commented 7 months ago

Hello @AlexStepantsov, kindly be aware that certain impacted components may not be explicitly mentioned on the card, and we anticipate a comprehensive resolution for this issue globally.