Sha256: 2a19bd10a2afabcd105d7680b819f77d62b164aefcb794f7b27105a945f01b2d
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Plutonium module UI module Form module Components class IntlTelInput < Phlexi::Form::Components::Input def view_template div(data_controller: "intl-tel-input") { super } end private def build_input_attributes super attributes[:data_intl_tel_input_target] = tokens(attributes[:data_intl_tel_input_target], :input) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plutonium-0.16.3 | lib/plutonium/ui/form/components/intl_tel_input.rb |
plutonium-0.16.1 | lib/plutonium/ui/form/components/intl_tel_input.rb |