Open CarlosNZ opened 3 months ago
Hi @CarlosNZ,
Thanks so much for pointing that out! I'll update the dependency as soon as possible. A side question, as far as I see, there is no way to remove fields entirely(I don't want them to show up on the UI). I was able to nullify the key-value, but the line was still there, albeit with no content. Is that currently possible, or would you be able to add such an option somehow?
A side question, as far as I see, there is no way to remove fields entirely(I don't want them to show up on the UI). I was able to nullify the key-value, but the line was still there, albeit with no content. Is that currently possible, or would you be able to add such an option somehow?
Yes, you should be able to do this with a Search Filter Function
// To hide all "id" fields
searchFilter={({ key }) => key !== 'id'}
I guess I'd intended the "search" to be for user input, but it doesn't have to be. (So it's perhaps not explicitly clear in the docs)
Hope that helps.
Heya, great project, looks very interesting!
I just stumbled upon it as you're using one of my packages for the raw editor: https://github.com/CarlosNZ/json-edit-react
I noticed the "expand" icon is getting a bit "clipped" on the left when it's in the open state:
So just wanted to let you know that this issue has been fixed so you should be able to update to the latest version (1.15.9) to make this look a little nicer :)
All the best.