blockly > FieldCheckboxValidator
FieldCheckboxValidator türü
Alanın değerinde yapılan değişiklikleri ayarlanmadan önce doğrulamak için çağrılan bir işlev.
İmza:
export type FieldCheckboxValidator = FieldValidator<CheckboxBool>;
Referanslar: FieldValidator
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-09 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-09 UTC."],[[["`FieldCheckboxValidator` is a type alias for a function used to validate changes to a checkbox field's value."],["This function receives the new checkbox state (true/false) and should return the validated state, an error message, or `null` to indicate the change is invalid."],["The `FieldCheckboxValidator` type uses the `FieldValidator` type with a specialization for `CheckboxBool` values."]]],[]]