Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Retourneert het opmaken van gebruikersinvoer op basis van het doorgegeven kenmerktype. Als het type niet wordt herkend, wordt de invoer zelf geretourneerd.
Syntaxis
context.formatting.formatUserInput(input, controlAttributes);
Beschikbaar voor
Modelgestuurde en canvas-apps
Parameterwaarden
| Parameternaam | Typologie | Verplicht | Description |
|---|---|---|---|
| invoer | unknown |
Yes | Gebruikersinvoer. |
| gedrag | ControlAttributes |
Yes |
controlAttributes wordt gebruikt door de formatter. |
Retourwaarde
Typ: string
Example
const controlAttributes = {
Type: "double",
Precision: 2,
PrecisionSource: 0,
Behavior: null,
OptionSet: null,
Format: null,
} as ControlAttributes;
context.formatter.formatUserInput("22", controlAttributes);
Verwante artikelen
Opmaak
Api-naslaginformatie over het Power Apps-onderdeelframework
Overzicht van power Apps-onderdelenframework