Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
blockly > FieldCheckboxValidator
Jenis FieldCheckboxValidator
Fungsi yang dipanggil untuk memvalidasi perubahan pada nilai kolom sebelum ditetapkan.
Tanda Tangan:
export type FieldCheckboxValidator = FieldValidator<CheckboxBool>;
Referensi: FieldValidator
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-12 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-09-12 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."]]],["The `FieldCheckboxValidator` is a function used to validate changes to a checkbox field's value before the changes are applied. It is defined as a type alias for `FieldValidator`, specifically for `CheckboxBool` values. The core function of the `FieldCheckboxValidator` is to ensure the validity of any proposed changes to a checkbox field. It is a `FieldValidator` type, used to ensure that changes are validated.\n"]]