Fix missing select for Page example

This commit is contained in:
Tessa Kelly 2022-04-14 14:24:32 -07:00
parent 48d80f88fc
commit 3936ed26dc
2 changed files with 8 additions and 2 deletions

View File

@ -71,7 +71,6 @@ describe('UI tests', function () {
const skippedRules = {
'Accordion': ['heading-order'],
'Page': ['select-name'],
'RadioButton': ['duplicate-id'],
'Select': ['label'],
'Switch': ['aria-allowed-attr'],

View File

@ -54,7 +54,14 @@ example =
, version = 3
, categories = [ Messaging ]
, keyboardSupport = []
, state = { httpError = CommonControls.httpError, recoveryText = initRecoveryText }
, state =
{ httpError =
Control.record identity
|> Control.field "httpError" CommonControls.httpError
, recoveryText =
Control.record identity
|> Control.field "recoveryText" initRecoveryText
}
, update = update
, subscriptions = \_ -> Sub.none
, preview =