mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 12:51:02 +08:00
4d32635c69
This PR adds the property `extra.default_value` to the fields in automation. This property is used to set the default value of the field. Reducing the nil checks we have to do in automation fields. I've added only testing in the `da-choices-field-test.js` file, but we could add tests to all the fields. |
||
---|---|---|
.. | ||
automation | ||
chat | ||
checklist | ||
discourse-details | ||
discourse-lazy-videos | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
footnote | ||
poll | ||
spoiler-alert | ||
styleguide |