You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like while create options, we are assigning value property as the Name of enum. This error is thrown because GraphQL has internal validation on GraphQLEnumType. I did a workaround from the front end to solve this, but I guess that shouldn't be long term solution.
@AdityaPimpalkar You're right the problem is actually also related to #3270, but in that case the name inside the enum are chosen by the user. We should change the regex to only accept [a-zA-Z]+, and drop number and emoji support.
We should add a new field inside FieldMetadataDefaultOptions for emoji, and contact it in the front side.
I tried to create a field "industry" on the company object.
![Screenshot 2024-01-08 at 12 15 35](https://private-user-images.githubusercontent.com/6399865/294882708-f50fdd2a-0916-4484-937e-53ff2d717292.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMjc3MjMsIm5iZiI6MTcyMTIyNzQyMywicGF0aCI6Ii82Mzk5ODY1LzI5NDg4MjcwOC1mNTBmZGQyYS0wOTE2LTQ0ODQtOTM3ZS01M2ZmMmQ3MTcyOTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMTQ0MzQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmVkN2FkMDBkNjQyMTliZjQ3YjhmNjJkMjViMDVjY2QyZWI3MWU4Mjg2YzQ4OGM4YTBjMDE5OWQ3Nzg0M2Q1NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aFPWNPrceAtB6C8EfYJkvO7VhSxTYyQ4nXUemlOf9PU)
One of the options had emoji in its value:
But now my workspace is broken and I get this error everywhere:
![Screenshot 2024-01-08 at 12 04 54](https://private-user-images.githubusercontent.com/6399865/294882430-1655fd36-6b22-4514-9782-9e087b29352d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMjc3MjMsIm5iZiI6MTcyMTIyNzQyMywicGF0aCI6Ii82Mzk5ODY1LzI5NDg4MjQzMC0xNjU1ZmQzNi02YjIyLTQ1MTQtOTc4Mi05ZTA4N2IyOTM1MmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMTQ0MzQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDExMGNlZTgwMmEzOGEwMzRmOGMzMDI0YThkNjhkNWM5NTRjNGQ5OTY0ODYyZThjYjgyNDI2ZTZhY2RhMDcxMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Io4gTQWXR48KmOmx_AIHLBPx6sDOPepMqBm3eUne72w)
Related: #3066 #2146
The text was updated successfully, but these errors were encountered: