Class: Glib::JsonUi::ViewBuilder::Fields::CreditCard

Inherits:
AbstractField show all
Defined in:
app/helpers/glib/json_ui/view_builder/fields.rb

Overview

Credit card input field with secure tokenization.

Integrates with payment processors to securely collect credit card details. Handles card number, expiry, and CVV without exposing sensitive data to your server.

Examples:

Credit card field

form.fields_credit_card \
  prop: :payment_token,
  publicKey: ENV['PAYMENT_PROCESSOR_PUBLIC_KEY']

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Method Summary

Methods inherited from AbstractField

#autoValidate, #context, #created, #default_url_options, #determine_value, #disableDirtyCheck, #hint, #hint_args, #label, #label_args, #name, #placeholder, #placeholder_args, #prop, #validation, #value

Methods inherited from View

component_name

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement