DecisionQuestions

The questions a decision model was asked, read only: each with its type and instructions, then what yes and no, each option or each level means.

View source
  1. is_invoiceYes/no
    Is this document an invoice or a receipt?
    Yes
    It asks for or confirms a payment
    No
    Anything else
  2. team4 optionsChoice
    Which team should handle it?
    finance
    Invoices, refunds and payments
    legal
    Contracts and data requests
    support
    Questions about using Kaeso
    sales
    Plans and quotes
  3. urgency3 levelsScore
    How soon does it need an answer?
    0
    This month: Nothing waits on it
    1
    This week: Someone waits, but not today
    2
    Today: Work is blocked until it is answered
  4. totalBox
    Where is the total on the receipt?
import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";

Props

  • aria-label
    string

    The list's accessible name ("Questions" by default, in the provider's language).

  • layout
    "list" = list

    The list of questions, a hairline between them.

  • questions
    readonly DecisionQuestion[]

    The questions as they were sent: kind, name, instructions, and what yes and no, the options or the levels mean.