Home

showRequiredIndicator

showRequiredIndicator is a boolean option used in form UI components to control the display of a visual cue that marks required fields. When enabled, a marker such as an asterisk appears next to the field label to signal that input is mandatory. When disabled, the label does not show the marker, even if the field is required for validation purposes.

Purpose: The indicator helps users identify required fields quickly and supports consistent form design across a

Usage: The option is commonly exposed on form controls or within design-system components. Implementation varies by

Accessibility: If shown, the indicator should be distinguishable and keyboard accessible. Many implementations pair the visual

See also: Required field, form validation, accessible labeling.

project.
It
is
independent
of
validation
logic;
a
field
can
be
required
and
still
have
the
indicator
hidden,
or
optional
fields
can
display
an
indicator
if
the
design
dictates.
framework,
but
typically
the
render
path
for
a
label
consults
both
the
field's
required
flag
and
showRequiredIndicator
to
decide
whether
to
append
the
indicator.
Some
systems
automatically
show
the
indicator
for
required
fields
if
showRequiredIndicator
is
not
specified.
cue
with
aria-required
attribute
and
a
screen-reader
accessible
label
or
description.