Fix type checking
This commit is contained in:
parent
752c6b5e02
commit
63106b6a43
1 changed files with 1 additions and 2 deletions
|
@ -189,8 +189,7 @@ TYPE: Specifies the type of input. See `input-types`
|
|||
NAME: The name attribute for the control.
|
||||
|
||||
LABEL: The label to display next to the control."
|
||||
(unless (find type input-types :test 'string=)
|
||||
(error "Wrong type for HTML input element. See `input-types`"))
|
||||
(check-type type input-element)
|
||||
(let* ((name-str (build-name-str name))
|
||||
(class-str (build-class-str "form-label" name))
|
||||
(id-str (build-id-str name label)))
|
||||
|
|
Loading…
Add table
Reference in a new issue