Sha256: d5064a7e50dffc0b7b83fbfd1f4cd38263c1f543e62f96d84f0074605f6e073c
Contents?: true
Size: 531 Bytes
Versions: 13
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require 'rails_admin/config/fields/types/numeric' module RailsAdmin module Config module Fields module Types class Decimal < RailsAdmin::Config::Fields::Types::Numeric # Register field type for the type loader RailsAdmin::Config::Fields::Types.register(self) register_instance_option :html_attributes do { required: required?, step: 'any', } end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems