View Source LightningWeb.JobLive.CronSetupComponent (Lightning v2.10.4)

A live component for managing cron setup in a form.

The CronSetupComponent provides an interactive form for configuring cron settings. It includes fields for specifying the frequency, minute, hour, weekday, monthday, and cron expression.

Usage

  1. Include the CronSetupComponent in your live view or template.
  2. Pass the necessary assigns to the component, such as form, on_change, and disabled.
  3. Handle the cron_expression_change event to capture changes in the form inputs.
  4. Use the updated cron_expression in your application logic.

Summary

Functions

Link to this function

build_cron_expression(prev, next)

View Source
Link to this function

frequency_field(assigns)

View Source
Link to this function

get_cron_data(cron_expression)

View Source

Attributes

  • id (:string) (required)
  • form (:map) (required)
  • on_change (:any) (required)
  • disabled (:boolean) (required)