Material Template Form in Alert

Ooh how about this for an anvil-role's solution wiith no javascript :face_vomiting:

theme.css

.anvil-role-alert-form .structure {
  height: 100%;
  min-height: auto;
}

roles:
Screen Shot 2020-02-17 at 13.03.39

code:

from ..Form1 import Form1

my_form_instance = Form1()
my_form_instance.role = "alert-form"
alert(content=my_form_instance, large=True)
2 Likes