Open axamei opened 3 years ago
This works with valid JSON containing properly escaped apostrophes. There's nothing we can do to fix invalid JSON to get the component to work, but we can use a try/catch clause (see example) to throw an error and prevent the component from breaking other components.
if(propValue) {
try {
a = JSON.parse(propValue);
} catch(e) {
alert(e); // error in the propValue
}
}
My daughter's spring break
broke the new travel request form because of the apostrophe. Allow this component to accept apostrophes.Removed excessive items in the array: