I need to display text and get the selected value , same as your previous example. However, after I have selected the item, it only show the [object Object] instead of the text or value
Dear @Derek_wong,
But you're doing something else in your sample above. By the way, what's the version of the app package you're using? Check it in your app catalog:
Dear @Derek_wong,
This is not the same, this is the version of the desktop app. You need to check the app package. It can be found in your app catalog, the URL will be different depending on your setup.
You go to Admin Center > SharePoint Admin Center >More features > Apps:
Dear @Derek_wong,
It matters for everything, including this issue. It's likely that the functionality was updated with the app package, and we cannot help if we are not sure which version you're using.
I am not the admin on sharepoint , I will check tmr with the right person, May I know why it will keep show this error. when I click the dropdown in the datatable
Dear @Derek_wong,
Yes, this is a SharePoint issue not related to forms. Feel free to ignore, it has no negative consequences, and SharePoint often gives a lot of warnings in console that don't mean much, so it's just the usual
Dear @Derek_wong,
Just checked it, and the value/text being different is actually not available in the Data Table dropdowns, only in Dropdown fields on the form itself. If you're interested in implementing it for the Data Table columns as well, we can offer paid support, contact us at support@plumsail.com
It's likely going to be added sooner or later, but it's not a priority as far as I know, and we can speed up the development process for a small fee.
Hi @Nikita_Kurguzov ! I'm having a problem with dropdown. I set the dropdown data upon load but the saved data is not being displayed on Edit form.
Do you have some suggestions? thank you
Are you using forms for SharePoint? What is the type of the drop down field? Is it a common or SharePoint field?
You can share the screenshot of the field settings for me to check:
If this is a common field, you need to save its value to a SharePoint field:
//fill SharePoint field with the selected value
fd.field('DropDown1').$on('change', function() {
fd.field('DepartmentCode').value = fd.field("DropDown1").value;
});