Welcome to the Airtable community!
What error messages do you get when it does not work? Can you share a screen shot?
Could one of the single select choices have a hidden trailing space or other hard-to-see difference?
What happens if you add these lines …
console.log(stringOuvrage );
console.log(basicString );
if (basicString === stringOuvrage) {
console.log(`${stringOuvrage} and ${basicString} match`)
} else {
console.log(`${stringOuvrage} and ${basicString} do NOT match`)
}
The script you posted doesn’t match you description of what is happening. The script you posted is missing the type of
.