How can I display employee names based on the selected employee id?
I can do it with javascript edits, but making the radsystems feature low-code feels pointless.
watch(() => formData.employee_id, (newEmployeeId) => {
ApiService.get(${baseApiUrl}/api/users/view/${newEmployeeId}
)
.then((response) => {
formData.employee_name= response.data.employee_name;
})
.catch((error) => {
console.error(‘Error fetching Employee Name:’, error);
});
});
Thank you, this is very useful without having to customize