@vttforge/core / PromptFieldsOptions
Interface: PromptFieldsOptions
Properties
content?
readonlyoptionalcontent?:string
HTML shown above the fields. Run through foundry.utils.cleanHTML first, the same cleaning Foundry gives dialog content; without it (in a test without the helper) the text is shown as text.
icon?
readonlyoptionalicon?:string
OK button icon class.
modal?
readonlyoptionalmodal?:boolean
Block the rest of the interface until answered.
ok?
readonlyoptionalok?:string
OK button label, as a localization key or text. Default: Foundry's.
rejectClose?
readonlyoptionalrejectClose?:boolean
Reject instead of resolving null when the dialog is dismissed.
title?
readonlyoptionaltitle?:string
Window title, as a localization key or text.