-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 5014 Disable Mint for {{space}} only input #5019
fix: 5014 Disable Mint for {{space}} only input #5019
Conversation
✅ Deploy Preview for koda-nuxt ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@roiLeo is this solution okay? looks like it's doing what we need |
not the solution I was looking for :/ |
The regex only checks if the input isn't just space/s. It can stay empty, the prop
is there something wrong with regex? //edit: if the regex isn't okay, can you please point me in a direction of solution that would be acceptable? |
So to understand, with this change I won't be able to create nft with space chars in name?
personal experience it's a pain to maintain and can have side effects
maybe @preschian can enlighten us on the original error (are we sure it's not a metadata issue?) |
that wasn't intended, but that's the effect now. reverting back to draft for now. |
@roiLeo yes, I can reproduce it on snek. check this nft metadata https://beta.kodadot.xyz/snek/gallery/185770742-3 and change the ipfs gateway with the other public ipfs gateway
|
Code Climate has analyzed commit c539ceb and detected 0 issues on this pull request. View more on Code Climate. |
now the regex which doesn't allow spaces is applied only if the field is required and if the contents of the field are only spaces. otherwise, everything is allowed. |
pay 30 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type
Context
Before submitting pull request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot 📸
upper input: space
lower input: empty