Context widgets
Currency
- Auto-selected: no (set
ui:widgetexplicitly) ui:options:currency(ISO code likeUSD,EUR,GBP)
context: {
data: { requestedIncreaseUsd: 120000 },
ui: {
requestedIncreaseUsd: {
"ui:widget": "currency",
"ui:options": { currency: "EUR" },
},
},
}Inbox preview
Rendered by the dashboard (static preview route). Matches docs light/dark mode. Handle actions are disabled; use the toolbar to submit this example to your inbox or view its configuration.
Context
{
"data": {
"requestedIncreaseUsd": 120000
},
"ui": {
"requestedIncreaseUsd": {
"ui:title": "Requested increase",
"ui:widget": "currency",
"ui:options": {
"currency": "EUR"
}
}
}
}See also
This widget also appears in the full Budget Approval task example.