Data Default Values

Component ID

2512188

Component name

Data Default Values

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Data Default Value provides a super simple field widget alter that blindly goes and adds the HTML5 attribute 'data-default' to all fields it can. What you do with it in clientside javascript is up to you:

  • Provide button to revert fields back to canonical field configuration specified system default value after clientside user changes
  • Make one of those focus/hide, blur/reshow placeholder-like functions
  • ..Ignore it and be no worse for the wear..