formstrap 0.4.7 → 0.4.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b83b9b5c0b00d0d5b3d84a26ca44c16335321c28c6c3e183a84d51fd3c2c45b
4
- data.tar.gz: 11d2ec48abdc5ffaaf223d8c3401f3e47a3e6e8d4de813590b8f2543a902ef4e
3
+ metadata.gz: e60904e1c082599b72a003051d3b342854b1af7730c87c918221c7690eb2035a
4
+ data.tar.gz: 949b82feec79394534dbfc407d1466686c2d830844f829321daeb0547f150092
5
5
  SHA512:
6
- metadata.gz: 5cdfdd6829349c2e8e3821bfc3d7ab80b7414f125126d20e9158475e337a1bc7e974a83a0209f6f56e4e45cf115599498f25976a23b616cd9006e54be16a9042
7
- data.tar.gz: 22c288a45528576ff1c91c76775003fb0ebeead2bb051c492e3923390e876b49fab4b936924e29b46b5484efd1fa43cfd15f3194fab63bf4e97ea59242d585c0
6
+ metadata.gz: 5fe446b5080f0e18f2604c5e31116f9467e97cc7d978bf35e1910995ce10a870b01849657debdb4dde3ad65e1913478e21bbd729152e5b0affe3756bb04068a8
7
+ data.tar.gz: f157202651e41757eb907cfa83e46cc7d8f6295d8fa07686ef4d7b2274264674debe618f3162e96067c3620b7a55508a0f8958586757d83d0b97d5acfad954e8
@@ -71,7 +71,7 @@ export default class extends Controller {
71
71
 
72
72
  firstUrl () {
73
73
  return (query) => {
74
- let url = `${this.remoteUrlValue}.json`
74
+ let url = this.remoteUrlValue
75
75
  url = this.setQueryParam(url, this.remoteQueryParamValue, query)
76
76
  url = this.setQueryParam(url, 'per_page', this.perPage)
77
77
  url = this.setQueryParam(url, 'page', 1)
@@ -83,7 +83,12 @@ export default class extends Controller {
83
83
  return (query, callback) => {
84
84
  let url = this.tomSelect.getUrl(query)
85
85
 
86
- fetch(url)
86
+ fetch(url, {
87
+ headers: {
88
+ Accept: 'application/json',
89
+ 'Conent-Type': 'application/json'
90
+ }
91
+ })
87
92
  .then(response => response.json())
88
93
  .then(json => {
89
94
  if (json.length === this.perPage) {
@@ -119,7 +119,7 @@ Redactor.lang.nl = {
119
119
  stop: 'Stoppen',
120
120
  discard: 'Verwerpen',
121
121
  insert: 'Invoegen',
122
- prompt: 'Prompt'
122
+ prompt: 'Prompt',
123
123
  },
124
124
  pathbar: {
125
125
  title: 'Inhoud'
@@ -3,3 +3,4 @@ import './i18n/fr.js'
3
3
  import './i18n/de.js'
4
4
  import './plugins/emoji.js'
5
5
  import './plugins/linkstyles.js'
6
+ import './plugins/ai.js'