Skip to content

Conversation

@jesseleite
Copy link
Contributor

@jesseleite jesseleite commented Jan 28, 2022

  • Delete jsonEncodeForHtmlAttribute() in favour of ->toJson()->entites() modifiers.
  • Update linked gist code example with these changes as well.

References: statamic/cms#5153

@netlify
Copy link

netlify bot commented Jan 28, 2022

✔️ Deploy Preview for statamic-3-dot-3 ready!

🔨 Explore the source changes: 85ddd97

🔍 Inspect the deploy log: https://app.netlify.com/sites/statamic-3-dot-3/deploys/61f4431f8a9eda00086fb721

😎 Browse the preview: https://deploy-preview-723--statamic-3-dot-3.netlify.app

@jesseleite jesseleite merged commit cbac6df into 3.3 Jan 28, 2022
@jesseleite jesseleite deleted the js-form-driver-refactor-json-encoding branch January 28, 2022 19:47
jackmcdade added a commit that referenced this pull request Mar 15, 2022
* New Antlers docs (#692)

Co-authored-by: Jason Varga <jason@pixelfear.com>

* Update blade doc with new `Statamic::tag()` and `Statamic::modify()` usage. (#702)

* Frontend form field conditions (#691)

* Document conditional fields in front-end forms.

* JS.

* Finish documenting custom JS drivers.

* Suggest more real-world example gist, as well as a link to our built-in Alpine driver.

* Tweak the intro

Co-authored-by: Jack McDade <jack@jackmcdade.com>

* Link to the new parser docs

* Mention alternate closing tags

* Refactor JSON encoding for form attributes in JS drivers (#723)

* fix mobile header overflow issue. Closes #725

* Document newest PHP delimiter

* Show the new new site site in the quick start guide

* Delete installed.png

* initial 3.3 upgrade guide

* Blade variables as per statamic/cms#5201

* fix a few code examples

* change per statamic/cms#5302

* Improve docs on getting data out of entries

* reword

* avoid the slash so the example isn't highlighted as a regex. its just an example.

* wip

* Rely on the automatic TOC

* Update fluent tag docs with param setters (#739)

* zero impact 3.3 changes

* fetch and pagination example

* property access

* explain void

* form submission data change

* live preview

* live preview

* Remove live preview extending page - it's all covered in the regular one

* at symbol can escape braces in strings and params

* Laravel 8

* explain date field change

* Add date where clauses

* laravel upgrade guide

* Tweak the L7-L8 upgrade guide

* A few more tweaks

* fix tpyo

* enh?

* Improve Blade docs

* Remove caveats.

* Routes and Controller examples for Blade

* A little more detail up front

Co-authored-by: Jason Varga <jason@pixelfear.com>
Co-authored-by: Jesse Leite <jesseleite@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants