Configuration for form view.
This includes all configuration from Config with addition of:
onChange : Msg function for updating CardDatashowLabel : hide/show the label of each form field.classes : classes of each form field's container, stored in a Form record.labels : text of each form field's label, stored in a Form record.placeholders : the placeholder text of form field, stored in a Form record.For all form related configuration (e.g.: classes, labels, etc)
Default configuration for card view
blankChar = '•'blankName = 'YOUR NAME'Default configuration for form view
Requires a Msg function to update the CardData
showLabel = Trueclasses = See defaultClasseslabels = See defaultLabelsplaceholders = See defaultPlaceholdersDefault classes name for form view
number = "Number"name = "Name"month = "Month"year = "Year"cvv = "CVV"Default label for form view
number = "Number"name = "Full Name"month = "Month"year = "Year"cvv = "CVV"Default placeholder text for form view
number = "Credit Card Number"name = "First Last"month = "MM"year = "YYYY"cvv = "CVV"
Configuration for card view
blankChar: character used to render empty text in the card.blankName: text used as placeholder for when the name is empty.