File or folder paths selectors.
that have this behavior applied by default:
<input type=“file-path” /> - inline single line <widget type=“file-path”></widget> <input type=“folder-path” /> - inline single line <widget type=“folder-path”></widget> that this behavior knows about:
filter=“filename-filter” - (type=“file-path” only) defines list of file name filters. filename-filter is list of filter groups separated by semicolon ';' where each group contains filter name, ':' and comma separated list of file masks. Sample: <input type="file-path" filter="HTML files:*.htm,*.html;Text files:*.txt;All files:*.*" novalue="(select file)"/>
novalue=“text” - if file was not selected (the input is empty) then it shows text provided by the novalue attribute. You can style this state by using :empty CSS selector.Additionally to the standard set of events (mouse, keyboard, focus) behavior: file generates:
type json::value::V_STRING, reports filename selected.
The value is read/write by code.