diff options
Diffstat (limited to 'src/data/composite/wiki-data/inputNotFoundMode.js')
-rw-r--r-- | src/data/composite/wiki-data/inputNotFoundMode.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data/composite/wiki-data/inputNotFoundMode.js b/src/data/composite/wiki-data/inputNotFoundMode.js new file mode 100644 index 00000000..d16b2472 --- /dev/null +++ b/src/data/composite/wiki-data/inputNotFoundMode.js @@ -0,0 +1,9 @@ +import {input} from '#composite'; +import {is} from '#validators'; + +export default function inputNotFoundMode() { + return input({ + validate: is('exit', 'filter', 'null'), + defaultValue: 'filter', + }); +} |