Having this code working perfectly on Edit screen
Map<String, String> serviceTypeNames = new HashMap<String, String>()...field.convertToSingleSelect()field.setFieldOptions(serviceTypeNames)
But doesn't work on Service Desk form.
Console shows this error:
[SR Behaviours] Error retrieving validators TypeError: Cannot read property 'minQueryLength' of undefinedat e (batch.js?locale=en-US:739)at t.e.addBehaviourToField (batch.js?locale=en-US:739)at t.e.addFieldListeners (batch.js?locale=en-US:739)at batch.js?locale=en-US:739
Works better I do it this way:
field.convertToSingleSelect([ ajaxOptions: [query: true, // keep going back to the sever for each keystrokeminQueryLength: 0, keyInputPeriod: 500, formatResponse: "general", ]])
But can't populate values. Not populated on transition screen eaither
It looks like you're new here. Sign in or register to get started.