Skip to content

<pa-submit-button>: The submit button element

The <pa-submit-button> element provides a button for submitting a statement from an associated <input> or <textarea> element. It is rendered like a <button> element and must only contain non-interactive phrasing content. The element must be a descendant of a <pa-conversation> element.

Attributes

disabled
If present disables any user interactions.
hidden
Indicates that the element content should not be shown.
submitfor
A single id value of an associated <input> or <textarea> element.

Styling

CSS shadow parts

The element exposes the following elements from its shadow root for use in CSS selectors using the element:

button
The <button> element inside the shadow root.

Custom states

The element exposes the following internal states for use in CSS selectors using the element:

inactive
The conversation is inactive and user interactions are not possible.

Javascript Interface

See ParticiappSubmitButtonElement.

See also