-
Notifications
You must be signed in to change notification settings - Fork 67
feat: onEditAllowKeys configuration support; #95
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
base: master
Are you sure you want to change the base?
feat: onEditAllowKeys configuration support; #95
Conversation
|
@ddtramp is attempting to deploy a commit to the Microlink Team on Vercel. A member of the Team first needs to authorize it. |
|
approve |
ddtramp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
ddtramp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
finished
| | `escapeStrings` | `boolean` | `true` | When set to `true`, strings sequences such as \n, \t, \r, \f will be escaped. | | ||
| | `bigNumber` | `Class` | `null` | A custom class for handling large numbers. The class should have a constructor that accepts a numeric string/value and a `name` property for display purposes. You can use existing libraries like `bignumber.js`, `decimal.js`, `big.js`, or provide your own implementation. | | ||
| | `showComma` | `boolean` | `true` | When set to `true`, commas are displayed between object properties and array elements for better readability. Interactive tools (clipboard, edit, delete icons) appear after the comma when hovering over JSON elements. | | ||
| | `onEditAllowKeys` | `array` | `false` | When provided, only keys included in onEditAllowKeys will display the edit icon. If onEditAllowKeys.includes(key) is true, the edit icon will be shown. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
@ddtramp Thanks for ths PR; Can you include a screenshot of what this change is doing? It's hard to me remember all the API parameters atm, that would help me to move this forward 🙏 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
When provided onEditAllowKeys, only keys included in onEditAllowKeys will display the edit icon. If onEditAllowKeys.includes(key) is true, the edit icon will be shown.