@tinacms/graphql 0.0.0-202202022225 → 0.0.0-202202115249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # tina-graphql
2
2
 
3
- ## 0.0.0-202202022225
3
+ ## 0.0.0-202202115249
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - 32082e0b3: GraphQL number type is changed from "Int" to "Float"
8
8
 
9
+ ### Patch Changes
10
+
11
+ - 8ad8f03fd: Select field now validates when required is true.
12
+
9
13
  ## 0.59.4
10
14
 
11
15
  ### Patch Changes
package/dist/index.js CHANGED
@@ -22752,7 +22752,10 @@ var Resolver = class {
22752
22752
  return __spreadProps(__spreadValues(__spreadValues({
22753
22753
  component: "select"
22754
22754
  }, field), extraFields), {
22755
- options: field.required ? field.options : [{ label: `Choose an option`, value: "" }, ...field.options]
22755
+ options: [
22756
+ { label: `Choose an option`, value: "" },
22757
+ ...field.options
22758
+ ]
22756
22759
  });
22757
22760
  }
22758
22761
  if (field.list) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.0.0-202202022225",
3
+ "version": "0.0.0-202202115249",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [