We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The default buttons are currently not customizable.
<n-dynamic-input> <template #action="{create, delete, moveUp, moveDown, }"> <n-button-group> <n-button @click="create.handler" :disabled="create.isDisabled">➕</n-button> <n-button @click="delete.handler" :disabled="delete.isDisabled">➖</n-button> <n-button @click="moveUp.handler" :disabled="moveUp.isDisabled">🆙</n-button> <n-button @click="moveDown.handler" :disabled="moveDown.isDisabled">👇🏽</n-button> </n-button-group> </template> </n-dynamic-input>
I think my slotProps are not perfect. But they doing there job here 😄.
An additional render function would be nice.
The text was updated successfully, but these errors were encountered:
I think it may not be possible to provide #action, but I can add slots for custom buttons I need to think about how to provide APIs
#action
Sorry, something went wrong.
I think we usually just want to custom the button icon, right?
Usally icons.
Maybe we can provide a prop like buttonProps
No problem. I'll develop this plan.
action
XieZongChen
Successfully merging a pull request may close this issue.
This function solves the problem (这个功能解决的问题)
The default buttons are currently not customizable.
Expected API (期望的 API)
I think my slotProps are not perfect. But they doing there job here 😄.
An additional render function would be nice.
The text was updated successfully, but these errors were encountered: