Sha256: 47a35fdae0b53d568ecf871bfacad0aa444c84b494ee52a7e2b62edbbb213be3
Contents?: true
Size: 599 Bytes
Versions: 12
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true require 'rails_admin/config/fields/base' module RailsAdmin module Config module Fields module Types class Numeric < RailsAdmin::Config::Fields::Base # Register field type for the type loader RailsAdmin::Config::Fields::Types.register(self) register_instance_option :filter_operators do %w[default between] + (required? ? [] : %w[_separator _not_null _null]) end register_instance_option :view_helper do :number_field end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems