Module Values.FieldInputConfigSource

Describes the configuration for the default input values to display for a field.

Sourcetype nonrec t = {
  1. type_ : String_.t;
    (*

    The input type for the field.

    *)
  2. required : Boolean.t option;
    (*

    Specifies a field that requires input.

    *)
  3. readOnly : Boolean.t option;
    (*

    Specifies a read only field.

    *)
  4. placeholder : String_.t option;
    (*

    The text to display as a placeholder for the field.

    *)
  5. defaultValue : String_.t option;
    (*

    The default value for the field.

    *)
  6. descriptiveText : String_.t option;
    (*

    The text to display to describe the field.

    *)
  7. defaultChecked : Boolean.t option;
    (*

    Specifies whether a field has a default value.

    *)
  8. defaultCountryCode : String_.t option;
    (*

    The default country code for a phone number.

    *)
  9. valueMappings : ValueMappings.t option;
    (*

    The information to use to customize the input fields with data at runtime.

    *)
  10. name : String_.t option;
    (*

    The name of the field.

    *)
  11. minValue : Float_.t option;
    (*

    The minimum value to display for the field.

    *)
  12. maxValue : Float_.t option;
    (*

    The maximum value to display for the field.

    *)
  13. step : Float_.t option;
    (*

    The stepping increment for a numeric value in a field.

    *)
  14. value : String_.t option;
    (*

    The value for the field.

    *)
  15. isArray : Boolean.t option;
    (*

    Specifies whether to render the field as an array. This property is ignored if the dataSourceType for the form is a Data Store.

    *)
  16. fileUploaderConfig : FileUploaderFieldConfig.t option;
    (*

    The configuration for the file uploader field.

    *)
}
Sourceval context_ : string
Sourceval make : ?required:??? -> ?readOnly:??? -> ?placeholder:??? -> ?defaultValue:??? -> ?descriptiveText:??? -> ?defaultChecked:??? -> ?defaultCountryCode:??? -> ?valueMappings:??? -> ?name:??? -> ?minValue:??? -> ?maxValue:??? -> ?step:??? -> ?value:??? -> ?isArray:??? -> ?fileUploaderConfig:??? -> type_:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Float of Float_.t | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * Awso.Botodata.value) list ] list | `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t