css |
Object
|
Array.<Object>
|
Update CSS resources included from the form
Properties
Name |
Type |
Description |
id |
string
|
CSS ID to update |
cssUrl |
string
|
URL to CSS use. To use CSS files bundled in FAR file, use "./css/" as the prefix. |
cssContent |
string
|
CSS Content to use for the CSS ID, this is ignored when a cssUrl is provided. |
|
images |
RuntimeImageUpdate
|
Array.<RuntimeImageUpdate>
|
New height for the image |
translation |
string
|
object
|
Set the Form translation, for string use the same code as Translation#fetch
Properties
Name |
Type |
Description |
code |
string
|
Optional code to pass to Translation#fetch - if not provided, the current locale will be updated |
url |
string
|
Optional URL to pass to Translation#fetch when the translation CSV is not in the FAR file. |
layoutDir |
string
|
boolean
|
Optional string ('rtl' | 'ltr') or boolean (true = 'r2l') to indicate whether to set Right-to-Left language functionality. Note that this will only be applied if R2L is enabled in the form (either a locale with R2L has been configured, or the "Allow R2L" form property is set) |
values |
object
|
Key/value pairs to update the translation dictionary. If a url or code have been provided, that language will be loaded before these values are applied. eg: translation: { values: { "firstName.label": "Your First Name" } } will update the label of the field with ID: firstName |
|
dataValues |
object
|
Key/value pairs to update into the data model, eg: dataValues: { footerUrl: "https://myUrl.com" } will get populated into data.footerUrl |