Search text too short

282 views
Skip to first unread message

chaonuo

unread,
May 13, 2017, 11:32:44 PM5/13/17
to TiddlyWiki
hi,

I rely on keywords (title, tags, fields etc) with only two character quite a lot (e.g. Q9, X8, E3 ...). but starting from Tiddlywiki 5.1.14, I can't search them anymore, instead I get the message "search text too short".

Is there a way to configure the lower limit of search text length? I really need to able to search short text with two characters. I will be very grateful for suggestions!

Birthe C

unread,
May 13, 2017, 11:50:07 PM5/13/17
to TiddlyWiki

Tiddler $:/config/Search/MinLength is default set to 3.



Birthe

chaonuo

unread,
May 14, 2017, 3:53:47 AM5/14/17
to TiddlyWiki
I didn't expect that it is so simple, thank you so much!

Pit.W.

unread,
May 14, 2017, 12:26:04 PM5/14/17
to tiddl...@googlegroups.com

Birthe,

also a thank you from me.

Maybe I can now mention that such numerical values can also be set by using a html spinner. (see the code below).
This possibility is mentioned nowhere and I stumbled over it by accident.
Probably it is known to all the wizards, but new to other people like me.

Thanks again to all of you.

Kindly,

Pit


-------------------


<$edit-text tiddler="$:/config/Search/MinLength" field="text" tag="input" SIZE="6" min="2"
type="number"
/>
---------------------------------------
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0938ea35-e84a-4675-b60d-d28d902599af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




Birthe C

unread,
May 14, 2017, 12:51:19 PM5/14/17
to TiddlyWiki, Pi...@eclipso.ch
Pit,

Thank you! I did not know. Easy and looks nice.


Birthe

Thomas Elmiger

unread,
May 14, 2017, 2:31:14 PM5/14/17
to TiddlyWiki
Hi Pit,

on iOS i get a normal input field with no restrictions concerning data entered.

Maybe it is just an HTML5 feature (implemented in some browsers) and nothing special to TW and therefore "undocumented"?

Thank you for the hint anyway,
Thomas

Pit.W.

unread,
May 17, 2017, 3:44:57 PM5/17/17
to tiddl...@googlegroups.com
Hi Thomas,

probably you are right. I tested this on Windows/Firefox only.

Cant say anything about iOS and other browsers, 'cause I dont use them
(I am a traditionalist).

But now I learned there are differences 'tween HTML5 on various
browsers. Thank you for that info
... and for TW5Hacks, and for tid.li, and for ToDoNow, and for
ListReveal, and Details, and Clipboard, and ... ... I forgot the rest
.... :(
... oh yes, and for all the good advice.


Pit

Yuji Naito

unread,
Aug 9, 2017, 8:34:44 PM8/9/17
to TiddlyWiki
Thank you a lot, from Japan!
It's a must for Kanji(Chinese) character!

Example→例
How to→方法

2017年5月14日日曜日 12時50分07秒 UTC+9 Birthe C:

RichardWilliamSmith

unread,
Aug 9, 2017, 9:44:40 PM8/9/17
to TiddlyWiki
There is a compatibility table for this feature here http://caniuse.com/#feat=input-number (notes for iOS Safari - 'UI widget does not include increment/decrement buttons'. 'UI widget does not take the "step", "min" or "max" attributes into account.')
Reply all
Reply to author
Forward
0 new messages