Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

while_loading doesn't work with external Hyperloop::Component #102

@aberios

Description

@aberios

The following doesn't appear to work.

class LoadingComponent < Hyperloop::Component
  render do
    DIV do
      'Loading...'
    end
  end
end
class MainComponent < Hyperloop::Router::Component
  render do
    FORM do
      INPUT(defaultValue: User.find_by_first_name('Lily').last_name)
    end
    .while_loading do
      LoadingComponent {}
    end
  end
end

Appears to have something to do with an INPUT's defaultValue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions