@univerjs/sheets-data-validation-ui
Data validation UI for Univer Sheets.
import { UniverSheetsDataValidationUIPlugin } from '@univerjs/sheets-data-validation-ui'
univer.registerPlugin(UniverSheetsDataValidationUIPlugin, IUniverSheetsDataValidationUIConfig)IUniverSheetsDataValidationUIConfig
import type { MenuConfig } from '@univerjs/ui'
export interface IUniverSheetsDataValidationUIConfig {
menu?: MenuConfig
/**
* Whether to show the edit button in the dropdown list of data validation
* @default true
*/
showEditOnDropdown?: boolean
/**
* Whether to show the search box in the dropdown list of data validation
* @default true
*/
showSearchOnDropdown?: boolean
}