-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Fix #323 - Make dropdownenum dynamic #324
Fix #323 - Make dropdownenum dynamic #324
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@johnM2401 this wasn't merged because it had issues if I'm not mistaken. Correct? @yunusyerli1 the issue was that the values was not saved on dependent field was not saved. See attached gif made by @johnM2401 |
Hey @clemente-raposo ! Yeah, I believe that's right. As you say, the child Dynamic Dropdown wouldn't save any values. |
I will check this. |
5ef7edf
to
4c2a9ce
Compare
Moved to #382 MR. |
Description
checkAndInitAsDynamicEnum();
method has been added to dropdownenum.component #323Motivation and Context
The status field in the Cases module is showing all values no matter what value is selected in the State field.
How To Test This
In base-field.manifest.ts file change following:
From :
'enum.detail': EnumDetailFieldComponent,
'enum.edit': EnumEditFieldComponent,
To:
'enum.detail': DropdownEnumDetailFieldComponent,
'enum.edit': DropdownEnumEditFieldComponent,
In editview, select State and check Status field. You ll see all values.
Select another value in State, and still you will see all the values
Types of changes
Final checklist