Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > FieldVariableValidator
Typ obiektu FieldFieldValidator
Funkcja, która jest wywoływana w celu weryfikacji zmian wartości pola przed ich ustawieniem.
Podpis:
export type FieldVariableValidator = FieldDropdownValidator;
Materiały referencyjne: FieldDropdownValidator
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-12 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-09-12 UTC."],[[["`FieldVariableValidator` is a type alias for `FieldDropdownValidator`, used to validate changes to a field's value."],["It is a function that gets called before a new value is set to a field to make sure the value is valid."],["You can learn more about field validators by visiting the documentation for `FieldDropdownValidator`."]]],["The core content defines `FieldVariableValidator` as a type alias for `FieldDropdownValidator`. This function serves to validate changes to a field's value before the changes are applied. It acts as a validator, ensuring that proposed value changes meet specified criteria. The `FieldVariableValidator` function will be called before the field value is actually updated, offering a mechanism for controlling field value changes.\n"]]