Input Group

less than 1 minute read

Documentation

Web Component

// Return the input group properties return { onChange: onChangeEvent }
<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs-wc/wc/dist/gd-sprest-bs.js"></script>
<bs-input-group label="My Name" value="First Last">
    // Return the input group properties
    return {
        onChange: function(item, ev) {
            console.log("The selected value is: " + item.text);
        }
    }
</bs-input-group>