In skuid Millau version, dependent picklist is not working as expected.

  • 4
  • Problem
  • Updated 1 year ago
  • Solved
Dependent picklist value is not picking picklist value according to controlling picklist. It was working fine in older version but failing in Millau skuid version.
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb

Posted 2 years ago

  • 4
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb
Skuid version 11.0
Photo of Dan Boudreau

Dan Boudreau

  • 840 Points 500 badge 2x thumb
I came here to post exactly this--it's not working for me after upgrade either. Appears to be a regression from an issue that was fixed a while back...
Photo of Janick

Janick

  • 916 Points 500 badge 2x thumb
Hey Sumit & Dan

Thank you for bringing this to our attention. I will bring this to the devs and they'll look into it.

Janick
Photo of Zach McElrath

Zach McElrath, Employee

  • 51,648 Points 50k badge 2x thumb
Official Response
We are working to address this as soon as possible in an upcoming Millau patch release --- thanks for your patience.
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb
Hi Zach,

Thanks Zach for taking this.
And for your kind information, I have also tried some workaround given by skuid, after Skuid Brooklyn Update 1 (9.5). And it's failing too. 
please find below the link and given code.
Link : https://community.skuid.com/skuid/topics/dependent-picklists-not-working-in-9-5  

/** * This overrides the Skuid Field constructor to address SKUID-3027. It is a workaround targeted
 * at Skuid Brooklyn Update 1 (9.5), and it is not intended to be used with any other 
 * version of Skuid. It is provided as is, without support, and should be removed once a version 
 * of Skuid containing a fix has been installed.
 * 
 * To implement this workaround, add this code to a Static Resource and include that resource
 * as a JavaScript Resource on any page affected.
**/
(function(skuid){
var s=skuid.$,v=skuid.utils,A='DATETIME';
function g(a,b,c,d){var e,f,g=this;if(g._GUID=v.generateGUID(),g.row=a,g.model=b,g.editor=c,g.options=d||{},g.subComponents=[],g.id=d.fieldId,g.name=d.fieldName,g.context=d.fieldContext,g.messages=[],g.id&&(g.metadata=g.model.getField(g.name?g.name:g.id,g.context)),e=g.metadata,g.options.labelText?g.label=g.options.labelText:g.options.label?g.label=g.options.label:e&&(g.label=e.label),g.options.required||e&&e.required?g.required=!0:g.required=!1,g.mode=d.mode||"read",g.element=s("<div>").addClass("nx-field").attr("data-uid",g._GUID),d.additionalClass&&g.element.addClass(d.additionalClass),g.element.data("object",g),g.editable=(!e||b.isRowNew(a)&&e.createable||e.editable)&&g.options.editable!==!1&&"readonly"!==g.mode,g.loading=d.loading,g.options.register&&g.model.registerField(g),f=d.controllingFields,e&&s.inArray(e.displaytype,["PICKLIST","MULTIPICKLIST","COMBOBOX"])!==-1){var h=e.controllingField,i=g.model.getField("RecordTypeId");f||(d.controllingFields=f=[]),i&&f.push(i.id),h&&f.push(h)}f&&f.length&&s.each(f,function(){var a=this;a.indexOf(".")!==-1&&(a=a.split(".")[0]),g.model.registerField(g,a)}),e&&e.displaytype===A&&g.subscribeToEvent("ui.timeZoneChanged",function(){g.render()})};s.extend(g.prototype,skuid.ui.Field.prototype);skuid.ui.Field = g;
})(skuid);
Photo of Zach McElrath

Zach McElrath, Employee

  • 51,648 Points 50k badge 2x thumb
Sumit, please do not use that code in Skuid Millau --- as indicated by the comment, that code was only intended to be used as a hotfix within Skuid Brooklyn Update 1, and should not be used with any other versions of Skuid.

Our team is working to release a hotfix that works for Skuid Millau to fix the dependent picklist issue ASAP.
(Edited)
Photo of Kevin

Kevin

  • 762 Points 500 badge 2x thumb
Hi Zach,

The iframe cannot work on a Lightning page in Skuid Millau version.
Please also fix it in the next hotfix.

Thanks,

Kien
Photo of Michael L Barnes

Michael L Barnes

  • 176 Points 100 badge 2x thumb
Any update on the Dependent Picklist issue?  @kien vu you might consider creating a new thread for the separate issue to keep it front and center with Skuid.  Thanks!
Photo of Dan Boudreau

Dan Boudreau

  • 840 Points 500 badge 2x thumb
Thanks Zach!
Photo of Adam Johnson

Adam Johnson

  • 1,020 Points 1k badge 2x thumb
I am experiencing this same issue in 10.0.11. Any suggestions?
Photo of Dan Boudreau

Dan Boudreau

  • 840 Points 500 badge 2x thumb
Upgrading to 11.0.1 fixed this for me.
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb
Hi Dan Boudreau,

we upgraded Skuid version to 11.0.1 but still, the issue gets persist. Could you please update here what steps you followed.

Thanks
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,944 Points 10k badge 2x thumb
Hi Sumit, if you still have the custom code in your page that you shared earlier, be sure to remove it, and let us know if the issue persists. Also, let us know specifically which fields are involved, if you could. 
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb
we have not added any workaround code. 
Regarding field information, we have two custom fields, country (controlling) picklist and location (dependent) multi-select picklist on case object.
we have used these field in one of our skuid page.
here I am attaching screenshots 




let me know you need more details
(Edited)
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,362 Points 2k badge 2x thumb
I wonder if this is related to the same issue I was seeing with dependent multi-select pick lists? Can select a single item but throws error when selecting multiple, in SF classic can select multiple. (Skuid Errors above are all fields we've deleted from SFDC still on page)

(Edited)
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,964 Points 10k badge 2x thumb
Hello Sumit and all, as Zach had said, our development team is aware of this issue and is working to address it in an upcoming release. We will update this conversation as soon as a fix is available.
Photo of Michael L Barnes

Michael L Barnes

  • 176 Points 100 badge 2x thumb
Any ETA on the release.  Big sales meeting this week and just found this bug after upgrading (didn't notice before upgrade in production).  Thanks!
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,944 Points 10k badge 2x thumb
Hi Michael, would you mind describing the issue as you see it, to help us understand how closely related it is to what's been discussed on this post?
Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
Official Response
Hello Skuid Community ~

This has been addressed in the new Millau 11.0.2 release which is now available on the Skuid Releases page.

As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.
Photo of sumit

sumit

  • 428 Points 250 badge 2x thumb
Dependent pick-list functionality is working on Millau 11.0.2 release