Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Remove example usage from createTextArea JSDoc comments for clarity and maintainability

Muhammad Hamza Khanfede3803991e
diff --git a/packages/app/src/builder-ui/ui/form/fields.ts b/packages/app/src/builder-ui/ui/form/fields.ts
index cdba03b1..f2fd0885 100644
--- a/packages/app/src/builder-ui/ui/form/fields.ts
+++ b/packages/app/src/builder-ui/ui/form/fields.ts
@@ -1126,36 +1126,6 @@ async function handleExpandTextarea(
* @param entry.vaultCondition.getValue - Optional function to get current value dynamically
* @returns Object containing the textarea element and optional container wrapper
*
- * @example
- * // Basic usage with content type (backward compatible)
- * createTextArea({
- * expandable: true,
- * attributes: { 'data-vault': 'apiCall,All' },
- * contentType: 'application/json'
- * });
- *
- * @example
- * // Dynamic vault condition based on any property
- * createTextArea({
- * expandable: true,
- * attributes: { 'data-vault': 'apiCall,All' },
- * vaultCondition: {
- * property: 'mode',
- * value: 'json',
- * getValue: () => document.querySelector('#modeSelect')?.value || ''
- * }
- * });
- *
- * @example
- * // Vault condition based on component data
- * createTextArea({
- * expandable: true,
- * attributes: { 'data-vault': 'apiCall,All' },
- * vaultCondition: {
- * property: 'dataType',
- * value: 'json'
- * }
- * });
*/
export const createTextArea = (entry: {
label?: string;