Sha256: 14c94002ff0cce8c99826fbd01a98aaed2ece649ffff42f33e4abe03f0e553e5
Contents?: true
Size: 498 Bytes
Versions: 7
Compression:
Stored size: 498 Bytes
Contents
require 'rails_admin/config/fields/types/numeric' module RailsAdmin module Config module Fields module Types class Float < 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
7 entries across 7 versions & 1 rubygems