Closed giacomocerquone closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zod-playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 8, 2024 9:18pm |
Actually I meant to add a clear button for the schema. Anyway I think the clear button for values can be a good addiction
I am not really convinced about the icon. The trash makes me think about remove the entire value item (not just clear the text) I checked the icon set and I didn't found anything better (maybe the FiX can be an alternative) Considering you added also the tooltip we can go live with the trash and pondering switching to a more complete icon set at later time
Actually I meant to add a clear button for the schema. Anyway I think the clear button for values can be a good addiction
Yeah I guess a clear button makes sense in both the editors
I am not really convinced about the icon. The trash makes me think about remove the entire value item (not just clear the text) I checked the icon set and I didn't found anything better (maybe the FiX can be an alternative) Considering you added also the tooltip we can go live with the trash and pondering switching to a more complete icon set at later time
You can also consider to add a condensed text button instead of an icon with the label "clear" without adding the tooltip
This PR adds a button to clear the value in the ValueEditor component.
closes #16