<goat-date-picker label="Date" helper-text="Optional helper text"></goat-date-picker>
<goat-date-picker size="lg"></goat-date-picker>
<goat-date-picker size="md"></goat-date-picker>
<goat-date-picker size="sm"></goat-date-picker>
boolean
attribute to any
<input>
element.
<goat-date-picker disabled></goat-date-picker>
<goat-date-picker readonly></goat-date-picker>
goat:change
is triggered by
the element.
document.querySelector('#date-field').addEventListener('goat-date-picker--input', function (event) {
myConsole.log('goat-date-picker--input :: ' + event.target.value);
});
document.querySelector('#date-field').addEventListener('goat-date-picker--change', function (event) {
myConsole.warn('goat-date-picker--change :: ' + event.target.value);
});