setIsValid (Client API reference)
Sets a value for a column to determine whether it is valid or invalid with a message.
Column types supported
All
Syntax
formContext.getAttribute(arg).setIsValid(bool, message);
Parameters
Name | Type | Required | Description |
---|---|---|---|
bool |
Boolean | Yes | Specify false to set the column value to invalid and true to set the value to valid. |
message |
String | No | The message to display. |
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ