blockly > FieldCheckbox > doClassValidation_
طريقة FieldCheckbox.doClassPlatformation_()
تأكَّد من أنّ قيمة الإدخال صالحة ("صحيح" أو "خطأ").
Signature:
protected doClassValidation_(newValue?: any): BoolString | null;
المَعلمات
المَعلمة | Type | الوصف |
---|---|---|
newValue | أي فلتر | (اختياري) قيمة الإدخال. |
المرتجعات:
BoolString | قيمة خالية
قيمة صالحة ('TRUE' أو 'FALSE) أو قيمة فارغة إذا كانت غير صحيحة.