Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1002 Bytes

File metadata and controls

17 lines (9 loc) · 1002 Bytes

FilterChoice

Properties

Name Type Description Notes
key String
count Integer The dynamic count of relevant resources based on the already-applied filter options. This may be null if we're unable to provide a count for a specific filter combination. [optional]
queryField String This is the query string field name to use when attempting to filter on this option. Pass this name as the query string field name and the 'option_key' value as the query string field key. Eg, if 'option_key' = 'action' and 'query_field' = 'rf[genre]', you should be the query string as `?rf[genre]=action`.
title String
selected Boolean Whether or not this option was selected, but only applicable where type = `radio` or `checkbox`. [optional]