InputChipTileSchema

@Serializable
@SerialName(value = "InputChip")
data class InputChipTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val text: String, val selected: Boolean, val leadingIcon: IconSchema? = null, val trailingIcon: IconSchema? = null, val enabled: Boolean) : TileSchema

Renders a Material 3 InputChip with a toggleable selected state, text as its label and optional leadingIcon / trailingIcon. enabled is forwarded to the underlying composable. This tile has no variants — it always maps to the flat InputChip.

Selection: tapping the chip flips selected. The renderer dispatches a local InputChipTileEvents.OnCheckChanged that the holder applies to its own state, so the new value survives without a round trip to the server.

Triggers dispatched (in this order, on every tap):

  • OnCheckEventTrigger — when the chip becomes selected.

  • OnUncheckEventTrigger — when the chip becomes unselected.

  • OnCheckChangedEventTrigger — always, right after one of the two above.

Value production: the holder exposes the current selected boolean under a caller-chosen key, so GetData / EvaluateData events can read this chip by its id.

Notes: the trailing icon is decorative — it does not fire a separate dismiss trigger; tapping anywhere on the chip toggles it.

Constructors

Link copied to clipboard
constructor(id: String, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility, text: String, selected: Boolean, leadingIcon: IconSchema? = null, trailingIcon: IconSchema? = null, enabled: Boolean)

Properties

Link copied to clipboard
@SerialName(value = "enabled")
val enabled: Boolean
Link copied to clipboard
@SerialName(value = "events")
open override val events: SerializableImmutableList<EventSchema>?
Link copied to clipboard
@SerialName(value = "id")
open override val id: String
Link copied to clipboard
@SerialName(value = "leadingIcon")
val leadingIcon: IconSchema?
Link copied to clipboard
@SerialName(value = "searchableTerms")
open override val searchableTerms: SerializableImmutableList<String>?
Link copied to clipboard
@SerialName(value = "selected")
val selected: Boolean
Link copied to clipboard
@SerialName(value = "style")
open override val style: StyleSchema
Link copied to clipboard
@SerialName(value = "text")
val text: String
Link copied to clipboard
@SerialName(value = "trailingIcon")
val trailingIcon: IconSchema?
Link copied to clipboard
@SerialName(value = "visibility")
open override val visibility: TileSchema.Visibility

Functions

Link copied to clipboard
open fun isGone(): Boolean
Link copied to clipboard
open fun isVisible(): Boolean