TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
7.97k stars 1.18k forks source link

typed fields #1331

Closed tobibeer closed 1 year ago

tobibeer commented 9 years ago

Define a standard interface to declare properties for fields, e.g. under $:/config/fields/ such as...

These properties can then be used to handle fields in a number of ways, e.g. by customizing custom editors, e.g. date pickers or templates using $select widgets, $checkbox widgets, etc..

A plugin may either define other namespaces that hold such field definitions or implement a unique prefix for its purposes.

pmario commented 7 years ago

@Jermolene .. imo should be labeled "feature request"

pmario commented 1 year ago

@Jermolene -- IMO may be closed.

I think this also can be done with cascades now. Especially Customizing EditTemplate field rendering to define custom input elements based on field-names.

Jermolene commented 1 year ago

Hi @pmario a few aspects of the OP are still not addressed directly by the core (eg defining fields that are automatically added to new tiddlers), but I agree that we've made progress on quite a few (eg it is now possible to define custom field editors).