Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@cslegany/filter-button-strapi5

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cslegany/filter-button-strapi5

This package provides a custom field for Strapi 5 that lets you add a filter button in no time.

latest
npmnpm
Version
0.5.5
Version published
Weekly downloads
6
-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

filter-button

This package provides a custom field for Strapi 5 that lets you add a filter button in no time.

Inspired by the Filter Button Strapi 4 plugin.

Installation

NPM:

npm install @cslegany/filter-button-strapi5

Yarn:

yarn add @cslegany/filter-button-strapi5

Usage

  • Install and configure the plugin. If you have Articles and Categories relations, you can use it to have a 'View Articles' button in the Edit View of a Category.
  • If you click on this button, it will show all Articles belonging to that Category using Strapi's Content Manager.
  • Multi-to-Multi relations are also supported. Let's say that you have a Labels relation and each Article can have multiple Labels. In that case you have to set Multi-to-Multi in the configuration of this plugin.
  • This plugin has a GUI to configure relations which was a missing feature in the Strapi 4 version.
  • Don't forget to add the Custom Fields in Strapi to your relations (i.e. a viewArticles custom field to Categories).

License

MIT

Keywords

Filter Button

FAQs

Package last updated on 05 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts