We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Components
1 parent 2efc1c6 commit 518c791Copy full SHA for 518c791
lib/superform/rails.rb
@@ -3,7 +3,7 @@
3
module Superform
4
module Rails
5
# The `ApplicationComponent` is the superclass for all components in your application.
6
- Component = ::Components::Base
+ Component = ::Phlex::HTML
7
8
# A Phlex::HTML view module that accepts a model and sets a `Superform::Namespace`
9
# with the `Object#model_name` as the key and maps the object to form fields
spec/spec_helper.rb
@@ -4,10 +4,6 @@
require "phlex"
require "rails"
-module Components
- Base = Phlex::HTML
-end
10
-
11
RSpec.configure do |config|
12
# Enable flags like --only-failures and --next-failure
13
config.example_status_persistence_file_path = ".rspec_status"
0 commit comments