StyleCode Property: fieldColor

fieldColor

Specifies the background color of the field.

Applies to Type Default
form > entry
slicepicker > entry
slicetree > entry
color, transparent transparent

Examples

// Example: form > entry
read form with
  SKU: text
  Maximum: number

show form "My Form" a1b1 with
  SKU { fieldColor: tomato }
  Maximum

// Example: slicepicker > entry
table Items = with
  [| as Id |]
  [| "A" |]
  [| "B" |]
  [| "C" |]

Items.Slice = sliceDashboard(Items.Id) by Items.Id

show slicepicker "Pick a slice" a1b3 with
  same(Items.Id) { fieldColor: tomato }

// Example: slicetree > entry
table Items = with
  [| as Id |]
  [| "A" |]
  [| "B" |]
  [| "C" |]

Items.Slice = sliceDashboard(Items.Id) by Items.Id

show slicetree "Pick a slice" a1b3 with
  same(Items.Id) { fieldColor: tomato }

User Contributed Notes
0 notes + add a note