Commit d1318617 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[searchfield] show db list immediately

Don't wait for user to enter 3 chars.

This way the "search on input focus lost" isn't that irritating.
parent 88b26bf1
......@@ -57,11 +57,11 @@ searchField p = R.createElement searchFieldComponent p []
iframeRef <- R.useRef null
let params =
[ searchInput {search}
, if length s.term < 3 -- search with love : <3
then
H.div {}[]
else
H.div {} [ dataFieldNav search dataFields
-- , if length s.term < 3 -- search with love : <3
-- then
-- H.div {}[]
-- else
, H.div {} [ dataFieldNav search dataFields
, if isExternal s.datafield
then databaseInput { databases: props.databases, search } []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment