When I write a nickname in the text field and press the OK button, I want to add a function to determine whether there are already few nicknames in the nickname field of the user collection.
I just want to make a simple 'identify duplicate nicknames' feature.
I tried everything, but I couldn't solve it.