Add the ability to pass classes to the copy button #14390
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v3.6.6
Feature type
Change to existing functionality
Proposed functionality
Add an optional parameter to the
copy_button
method to allow for passing additional classes.Use case
Pass
d-none
class to the element to programatically show and hide the copy button based on a condition.Related bug report: Onemind-Services-LLC/netbox-secrets#104
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: