discourse/app/assets/javascripts/admin
Alan Guo Xiang Tan de5ca63eb5
UX: Allow a default value to be specified for enum properties (#26529)
Why this change?

For a `typed: objects` theme setting with an enum property, we are
adding a `default` key for `type: enum` fields which will be used
as the default value on the client side.

```
some_objects_setting:
  type: objects
  schema:
    name: field
    properties:
      enum_field:
        type: enum
        default: awesome
        choices:
          - nice
          - cool
          - awesome
```
2024-04-05 11:44:39 +08:00
..
addon UX: Allow a default value to be specified for enum properties (#26529) 2024-04-05 11:44:39 +08:00
app
.npmrc
ember-cli-build.js
index.js
package.json Build(deps): Bump the babel group with 2 updates (#26502) 2024-04-03 23:47:13 +02:00