mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 00:34:25 +00:00
StandardPrompt and UnsavedChangesDialog build their buttons, their choice check and their programmatic OK from one offered list; a choice without an enabled button is refused. HostedParamDialog opens its values once (remembered values, defaults) before its first show, OK or set, through the helper the first pass uses; OK builds its result through one helper; set refuses rows that are hidden or disabled and reads the value as its row's kind. set_json_field takes the Context. Automation lists dialog ids as decimal strings, takes a string or a number, and names only the host's dialogs.