<commit_before>rf.StandaloneDashboard(function (db) {
    var c1 = new FilterComponent();
    c1.setDimensions(6,6);
    c1.setCaption('Test Filter Component');

    c1.addTextFilter('name', 'Name');
    c1.addSelectFilter('products', 'Products', ['Beverages', 'Chips', 'Cookies', 'Cakes', 'Dairy Products', 'Poultry'], {});
    c1.addMultiSelectFilter('cities', 'Cities', ['Bangalore', 'San Fransisco', 'New York', 'Melbourne', 'London', 'Rio De Jeneiro'], {});
    c1.addDateFilter('delivery_date', 'Delivery Date', {});
    c1.addDateRangeFilter('grace_period', 'Grace Period', {});
    c1.addNumericRangeFilter('units', 'Units in Stock');

    db.addComponent(c1);

    c1.bind('submit', function() {
        var inputValues = c1.getAllInputValues();
        console.log(inputValues);<commit_msg>changed bind to onApplyClicked on filter_getvals<commit_after>rf.StandaloneDashboard(function (db) {
    var c1 = new FilterComponent();
    c1.setDimensions(6,6);
    c1.setCaption('Test Filter Component');

    c1.addTextFilter('name', 'Name');
    c1.addSelectFilter('products', 'Products', ['Beverages', 'Chips', 'Cookies', 'Cakes', 'Dairy Products', 'Poultry'], {});
    c1.addMultiSelectFilter('cities', 'Cities', ['Bangalore', 'San Fransisco', 'New York', 'Melbourne', 'London', 'Rio De Jeneiro'], {});
    c1.addDateFilter('delivery_date', 'Delivery Date', {});
    c1.addDateRangeFilter('grace_period', 'Grace Period', {});
    c1.addNumericRangeFilter('units', 'Units in Stock');

    db.addComponent(c1);

    c1.onApplyClicked(function() {
        var inputValues = c1.getAllInputValues();
        console.log(inputValues);
{'fraction_non_alphanumeric': 0.181651376146789, 'fraction_numerical': 0.01712538226299694, 'mean_word_length': 5.03690036900369, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5266204', 'n_tokens_mistral': 563, 'n_tokens_neox': 552, 'n_words': 103}