Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fallbacks for submitting forms (eg. create post) when JS is disabled #319

Closed
mayel opened this issue May 28, 2022 · 1 comment
Closed
Labels
Backlog New Issue Please apply this label to any new issues :)
Milestone

Comments

@mayel
Copy link
Member

mayel commented May 28, 2022

No description provided.

@mayel mayel added the New Issue Please apply this label to any new issues :) label May 28, 2022
@mayel mayel added this to the Framework beta milestone May 28, 2022
mayel added a commit to bonfire-networks/bonfire_ui_me that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_classify that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_recyclapp that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_editor_ck that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_geolocate that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_boundaries that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_social that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_search that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_invite_links that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_ui_valueflows that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_ui_social that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_ui_common that referenced this issue May 28, 2022
mayel added a commit to bonfire-networks/bonfire_valueflows that referenced this issue May 28, 2022
@mayel
Copy link
Member Author

mayel commented May 28, 2022

proof of concept is working so that you can make a post without JS (no rich editor and no LV events)

need to use our new functions redirect_to, patch_to, and assign_flash instead of directly the LV ones for this to work

and add an action attrs to forms similar to the submit one:

submit="Bonfire.Social.Posts:post" 
action="/LiveHandler/Bonfire.Social.Posts:post"

Screenshot 2022-05-28 at 23 50 21

@mayel mayel modified the milestones: Framework 1.0, Backlog Oct 15, 2022
@mayel mayel added the Backlog label Feb 18, 2023
@mayel mayel closed this as completed Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog New Issue Please apply this label to any new issues :)
Projects
None yet
Development

No branches or pull requests

2 participants