Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data FieldInputConfig = FieldInputConfig' {
- defaultChecked :: Maybe Bool
- defaultCountryCode :: Maybe Text
- defaultValue :: Maybe Text
- descriptiveText :: Maybe Text
- isArray :: Maybe Bool
- maxValue :: Maybe Double
- minValue :: Maybe Double
- name :: Maybe Text
- placeholder :: Maybe Text
- readOnly :: Maybe Bool
- required :: Maybe Bool
- step :: Maybe Double
- value :: Maybe Text
- valueMappings :: Maybe ValueMappings
- type' :: Text
- newFieldInputConfig :: Text -> FieldInputConfig
- fieldInputConfig_defaultChecked :: Lens' FieldInputConfig (Maybe Bool)
- fieldInputConfig_defaultCountryCode :: Lens' FieldInputConfig (Maybe Text)
- fieldInputConfig_defaultValue :: Lens' FieldInputConfig (Maybe Text)
- fieldInputConfig_descriptiveText :: Lens' FieldInputConfig (Maybe Text)
- fieldInputConfig_isArray :: Lens' FieldInputConfig (Maybe Bool)
- fieldInputConfig_maxValue :: Lens' FieldInputConfig (Maybe Double)
- fieldInputConfig_minValue :: Lens' FieldInputConfig (Maybe Double)
- fieldInputConfig_name :: Lens' FieldInputConfig (Maybe Text)
- fieldInputConfig_placeholder :: Lens' FieldInputConfig (Maybe Text)
- fieldInputConfig_readOnly :: Lens' FieldInputConfig (Maybe Bool)
- fieldInputConfig_required :: Lens' FieldInputConfig (Maybe Bool)
- fieldInputConfig_step :: Lens' FieldInputConfig (Maybe Double)
- fieldInputConfig_value :: Lens' FieldInputConfig (Maybe Text)
- fieldInputConfig_valueMappings :: Lens' FieldInputConfig (Maybe ValueMappings)
- fieldInputConfig_type :: Lens' FieldInputConfig Text
Documentation
data FieldInputConfig Source #
Describes the configuration for the default input values to display for a field.
See: newFieldInputConfig
smart constructor.
FieldInputConfig' | |
|
Instances
Create a value of FieldInputConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultChecked:FieldInputConfig'
, fieldInputConfig_defaultChecked
- Specifies whether a field has a default value.
$sel:defaultCountryCode:FieldInputConfig'
, fieldInputConfig_defaultCountryCode
- The default country code for a phone number.
$sel:defaultValue:FieldInputConfig'
, fieldInputConfig_defaultValue
- The default value for the field.
$sel:descriptiveText:FieldInputConfig'
, fieldInputConfig_descriptiveText
- The text to display to describe the field.
$sel:isArray:FieldInputConfig'
, fieldInputConfig_isArray
- Specifies whether to render the field as an array. This property is
ignored if the dataSourceType
for the form is a Data Store.
$sel:maxValue:FieldInputConfig'
, fieldInputConfig_maxValue
- The maximum value to display for the field.
$sel:minValue:FieldInputConfig'
, fieldInputConfig_minValue
- The minimum value to display for the field.
$sel:name:FieldInputConfig'
, fieldInputConfig_name
- The name of the field.
$sel:placeholder:FieldInputConfig'
, fieldInputConfig_placeholder
- The text to display as a placeholder for the field.
$sel:readOnly:FieldInputConfig'
, fieldInputConfig_readOnly
- Specifies a read only field.
$sel:required:FieldInputConfig'
, fieldInputConfig_required
- Specifies a field that requires input.
$sel:step:FieldInputConfig'
, fieldInputConfig_step
- The stepping increment for a numeric value in a field.
$sel:value:FieldInputConfig'
, fieldInputConfig_value
- The value for the field.
$sel:valueMappings:FieldInputConfig'
, fieldInputConfig_valueMappings
- The information to use to customize the input fields with data at
runtime.
$sel:type':FieldInputConfig'
, fieldInputConfig_type
- The input type for the field.
fieldInputConfig_defaultChecked :: Lens' FieldInputConfig (Maybe Bool) Source #
Specifies whether a field has a default value.
fieldInputConfig_defaultCountryCode :: Lens' FieldInputConfig (Maybe Text) Source #
The default country code for a phone number.
fieldInputConfig_defaultValue :: Lens' FieldInputConfig (Maybe Text) Source #
The default value for the field.
fieldInputConfig_descriptiveText :: Lens' FieldInputConfig (Maybe Text) Source #
The text to display to describe the field.
fieldInputConfig_isArray :: Lens' FieldInputConfig (Maybe Bool) Source #
Specifies whether to render the field as an array. This property is
ignored if the dataSourceType
for the form is a Data Store.
fieldInputConfig_maxValue :: Lens' FieldInputConfig (Maybe Double) Source #
The maximum value to display for the field.
fieldInputConfig_minValue :: Lens' FieldInputConfig (Maybe Double) Source #
The minimum value to display for the field.
fieldInputConfig_name :: Lens' FieldInputConfig (Maybe Text) Source #
The name of the field.
fieldInputConfig_placeholder :: Lens' FieldInputConfig (Maybe Text) Source #
The text to display as a placeholder for the field.
fieldInputConfig_readOnly :: Lens' FieldInputConfig (Maybe Bool) Source #
Specifies a read only field.
fieldInputConfig_required :: Lens' FieldInputConfig (Maybe Bool) Source #
Specifies a field that requires input.
fieldInputConfig_step :: Lens' FieldInputConfig (Maybe Double) Source #
The stepping increment for a numeric value in a field.
fieldInputConfig_value :: Lens' FieldInputConfig (Maybe Text) Source #
The value for the field.
fieldInputConfig_valueMappings :: Lens' FieldInputConfig (Maybe ValueMappings) Source #
The information to use to customize the input fields with data at runtime.
fieldInputConfig_type :: Lens' FieldInputConfig Text Source #
The input type for the field.