From f695ebf5a2b5a89d08344e4d704fd1511dcce0e9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 4 Mar 2020 16:21:54 +0000 Subject: Allow configuration of the "accept" attribute value of "file" type forms Applied patch from Marc-Andre Parent Ticket: https://gitlab.alpinelinux.org/acf/acf-lib/issues/1 --- html.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html.lua') diff --git a/html.lua b/html.lua index 5bb46a6..5eda481 100644 --- a/html.lua +++ b/html.lua @@ -117,7 +117,8 @@ generic_input = function ( field_type, v ) "name", "size", "checked", "maxlength", "value", "length", "id", "src", "align", "alt", "contenteditable", - "tabindex", "accesskey", "onfocus", "onblur", "title" + "tabindex", "accesskey", "onfocus", "onblur", + "title", "accept" } ) do str = str .. nv_pair ( k, v[k] ) end -- cgit v1.2.3