zcatalyst-integ-cliq
Version:
Node.js SDK for integrating Zoho Catalyst with Zoho Cliq
14 lines (13 loc) • 379 B
JavaScript
import FormValue from './form-value.js';
export default class FormDynamicFieldResponse {
newFormValue(label, value) {
return new FormValue(label, value);
}
addOption(...option) {
if (this.options === undefined) {
this.options = option;
return this.options.length;
}
return this.options.push(...option);
}
}