* Handles clicking on the `submit` button, within the picker`s footer.
()
| 383 | * Handles clicking on the `submit` button, within the picker`s footer. |
| 384 | */ |
| 385 | _submitClick() { |
| 386 | const selectedDate = this.getSelectedDateTime(); |
| 387 | |
| 388 | const value = this.getValueFormat().format(selectedDate); |
| 389 | if (this.value !== value) { |
| 390 | this._updateValueAndFireEvents(value, true, ["change", "value-changed"]); |
| 391 | } |
| 392 | |
| 393 | this._togglePicker(); |
| 394 | } |
| 395 | |
| 396 | /** |
| 397 | * Handles clicking on the `cancel` button, within the picker`s footer, |
nothing calls this directly
no test coverage detected