रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > FieldDropdown > doClassValidation_
फ़ील्डड्रॉपडाउन.doClassValidation_() तरीका
पक्का करें कि इनपुट वैल्यू, भाषा का इस्तेमाल न करने वाला एक मान्य विकल्प है.
हस्ताक्षर:
protected doClassValidation_(newValue: string): string | null | undefined;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
newValue |
स्ट्रिंग |
इनपुट वैल्यू. |
लौटाए जाने वाले प्रॉडक्ट:
स्ट्रिंग | null | तय नहीं है
एक मान्य भाषा-न्यूट्रल विकल्प या अमान्य होने पर शून्य.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["`doClassValidation_` is a protected method of the `FieldDropdown` class in Blockly, used to validate user input against the dropdown options."],["This method takes a string input representing the user's selected value and returns a validated, language-neutral option or null if the input is invalid."],["The primary purpose is to ensure that the chosen value is a valid option from the available choices in the dropdown."]]],[]]