I need to add a editable field where I can write custom notes for each device in the table of “Device/Listing devices ” like the example.
Does anyone already have a solution or would be able to give me some advice?
Thanks
I need to add a editable field where I can write custom notes for each device in the table of “Device/Listing devices ” like the example.
You can accomplish this using a virtual parameter.
I have tried but to no avail. is it possible to have a field like this with the button to edit the custom note?
I followed the guide you reported but the editable field is not added.
Post the contents of your vparam.
I tried it like this
In the Editing index page section I tried to enter the parameter in these two ways but without success
and in the listing config it shows like this
You are overwriting the value of the vparam every time to empty string.
let note = '';
if ("value" in args[1]) {
note = args[1].value[0];
}
return {writable: true, value: [note, "xsd:string"]};