MobAsh.FormScreen (mob_ash v0.1.1)

Copy Markdown View Source

Shared parameterized create form: one <TextField> per writable scalar attribute of the route-bound :resource; Create runs the resource's primary create action via Ash.create!/1 and pops back.

Summary

Functions

dump_state(assigns)

Callback implementation for Mob.Screen.dump_state/1.

load_state(vsn, stored)

Callback implementation for Mob.Screen.load_state/2.

terminate(reason, socket)

Callback implementation for Mob.Screen.terminate/2.