封鎖 >FieldDropdown >doClassValidation_
FieldDropdown.doClassValidation_() 方法
確認輸入值是中立的有效選項。
Signature:
protected doClassValidation_(newValue: string): string | null | undefined;
參數
| 參數 | 類型 | 說明 |
|---|---|---|
| newValue | 字串 | 輸入的值。 |
傳回:
字串 |null |未定義
有效的語言中立選項;如果無效,則為空值。
封鎖 >FieldDropdown >doClassValidation_
確認輸入值是中立的有效選項。
Signature:
protected doClassValidation_(newValue: string): string | null | undefined;
| 參數 | 類型 | 說明 |
|---|---|---|
| newValue | 字串 | 輸入的值。 |
傳回:
字串 |null |未定義
有效的語言中立選項;如果無效,則為空值。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。