Truncating text fields in Collection output displays

Disconnect the text field from the dataset and do this

export function dataset1_ready() { //allow the dataset to be loaded
    $w("#repeater1").onItemReady( ($item, itemData, index) => {
    $w("#repeater1").forEachItem( () => { //loop the function
         var string = itemData.description; //description is the field name in the database
         var length = 195; //total amount of words you want to display onscreen
         var trimmedString = string.substring(0, length);
         $item("#description").text = String(trimmedString) + '...';
         });
    });
}