diff options
author | Ted Trask <ttrask01@yahoo.com> | 2020-03-04 16:21:54 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2020-03-04 16:21:54 +0000 |
commit | f695ebf5a2b5a89d08344e4d704fd1511dcce0e9 (patch) | |
tree | d97cbf71045e64b3acca7e1380650de8648d194b | |
parent | 569c929cd2a452f8d44b1f7e02e95f10e0d34dc8 (diff) | |
download | acf-lib-f695ebf5a2b5a89d08344e4d704fd1511dcce0e9.tar.bz2 acf-lib-f695ebf5a2b5a89d08344e4d704fd1511dcce0e9.tar.xz |
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
-rw-r--r-- | html.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |