pub fn SegmentedDatetimeField(
props: SegmentedDatetimeFieldProps,
) -> impl IntoViewExpand description
Low-level segmented datetime input shared by crate::DateField, crate::TimeField,
and crate::DateTimeField.
§Required Props
- format:
impl Into<Signal<DatetimeFormat>>- Display and parse format controlling segment layout (date mask in datetime mode).
- timezone:
impl Into<Signal<DatetimeTimezone>>- Timezone used when parsing date segments.
- reference_date:
impl Into<Signal<OrbitalDateTime>>- Calendar day anchor for time-only parsing.
- disabled:
impl Into<Signal<bool>>- Disables all segment inputs.
- testid_prefix: [
impl Into<&'static str>](&’static str)- Prefix for
data-testidon each segment ({prefix}-segment-{kind}).
- Prefix for
§Optional Props
- value:
impl Into<OptionBind<OrbitalDateTime>>- Two-way
OrbitalDateTimebinding.
- Two-way
- is_time:
bool- When true, uses time segment layout and parsing.
- combined:
bool- When true, appends time segments from
time_formatafter date segments.
- When true, appends time segments from
- time_format:
impl Into<Signal<DatetimeFormat>>- Time mask used when
combinedis true.
- Time mask used when
- id:
impl Into<MaybeProp<String>>- Optional control id applied to the first segment.
- name:
impl Into<MaybeProp<String>>- Optional form name applied to the first segment.