Skip to content
Star

PxStateChecklist

A dynamic, schema-driven checklist component designed to render complex tri-state options (True/False/Flagged) for a predefined list of items. It supports optional text inputs per item based on the schema configuration.

Standard Checklist

Renders a list of items with True (✓), False (✗), and Flagged (⚑) options.

Standard Checklist
Auto Save
Dark Mode
Push Notifications
Send Telemetry Data
Hardware Acceleration

Checklist With Inputs

If the schema contains input_father or input components for list children, the component automatically adapts to render text fields.

Checklist with Inputs
AdBlocker
Grammarly
Vue DevTools
React DevTools

API Reference

PropTypeDefaultDescription
fieldrequired
FormSchemaField
modelValue
Record
defaultOpen
boolean

Exposed Methods

Can be accessed via a template ref to control the checklist programmatically:

NameDescription
clearAll()Resets all selections and text inputs to their default empty states.
setRestFalse()Sets the radio value to "no" for all items that haven't been answered yet.
setAllFalse()Sets the radio value to "no" for all items, overwriting current answers.

NOTE

This component is designed for schema-driven dynamic forms. For simple checklist needs without a schema, consider using PxCheckbox directly.

Built with VitePress