Skip to content

Commit fd33414

Browse files
authored
Merge pull request #69 from github/alter-error-state-message
alter error state message
2 parents cef4eb7 + b839978 commit fd33414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ <h2>Form that has custom validity messages</h2>
7373
form.addEventListener('auto-check-error', event => {
7474
if (form.id === 'custom') {
7575
const {setValidity} = event.detail
76-
setValidity('🚫 Something went wrong.')
76+
setValidity('🚫 Something went wrong. Please try again')
7777
}
78-
state.textContent = 'error'
78+
state.textContent = 'something went wrong, please try again'
7979
})
8080
form.addEventListener('auto-check-complete', () => {
8181
if (state.textContent === 'loading') state.textContent = ''

0 commit comments

Comments
 (0)