I have the following a!pickerFieldUsers in my interface
a!pickerFieldUsers(label: "New Owner",labelPosition: "ABOVE",saveInto: local!userToTransferTo,/*value: local!userToTransferTo,*/required: true,validations: {},placeholder: "--Start typing officer name--"
),
This is supported by the local variable in the interface:
local!userToTransferTo,
What I want is for the field to allow me to enter any user into the pickerFieldUsers and store it into local!userToTransferTo and furthermore, once a value has been added to that field, for the current value of local!userToTransferTo to be displayed in the field.
However, when I type a user into the field, it allows me to type a user - but the value immediately dissapears. If I uncomment the value parameter however, the entire interface displays an error.
Can someone please advise how one goes about using this field type to record the name of a user that you want to interact with [so as to pass the username on to a process Model that will use the information?
Discussion posts and replies are publicly visible
Hi David,
Un-commenting should work alright. Can you share what error you get when you uncomment value attribute?
Just tried it now. It works now [I have no idea why it didn't work before] - I've been playing with this for ages, and each time it would generate an error... now [all of a sudden] it works...