require "formalist/element"
require "formalist/elements"
require "formalist/types"

module Formalist
  class Elements
    class TextField < Field
      attribute :password, Types::Bool
      attribute :code, Types::Bool
    end

    register :text_field, TextField
  end
end

require "formalist/element"
require "formalist/elements"
require "formalist/types"

module Formalist
  class Elements
    class TextField < Field
      attribute :password, Types::Bool
      attribute :code, Types::Bool
      attribute :disabled, Types::Bool
    end

    register :text_field, TextField
  end
end

Add disabled as an attribute to TextField fields
Add disabled as an attribute to TextField fields
