Bryan Housel
59f1df902d
When showing a field, set its default value if it has one
...
This allows universal fields or other standalone fields to have a default value.
This didn't work before becuase default values were only handled by
preset.applyTags() / preset.removeTags().
2017-09-11 15:16:02 -04:00
Bryan Housel
78e874d6c4
Allow fields to work w/o entity, add options to disable buttons
2017-08-13 23:24:09 -04:00
Bryan Housel
8a399096b2
Add options for fields, allow unwrapped fields (no label, buttons, etc)
2017-08-05 00:33:20 -04:00
Bryan Housel
216a04d962
Restore code to set state=hover (not sure if actually needed)
...
Also, fix hover style for textarea
2017-08-03 13:32:08 -04:00
Bryan Housel
6950220ced
Update the tags before rendering
2017-08-03 13:04:17 -04:00
Bryan Housel
7076bcef16
uiField now dispatches own events
2017-08-03 11:28:10 -04:00
Bryan Housel
6fe1efaf35
Some variables and formatting
2017-08-03 11:13:07 -04:00
Bryan Housel
2e278ba5ef
Fix "Add Field" combo
2017-08-03 10:28:07 -04:00
Bryan Housel
1bf514b7fc
Move field rendering code from preset_editor to field.js
2017-08-03 01:10:59 -04:00
Bryan Housel
ce12c34efe
WIP refactor field rendering code out of preset editor
2017-08-02 17:41:02 -04:00