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

feat: New args syntax #30

Merged
merged 1 commit into from
Mar 22, 2025
Merged

feat: New args syntax #30

merged 1 commit into from
Mar 22, 2025

Conversation

blocknotes
Copy link
Owner

@blocknotes blocknotes commented Mar 20, 2025

🆕 New syntax to provide arguments to the actions using data-arg (or data-else-arg for else action)

Example:

title_data = { if: 'blank', then: 'setValue', args: '1', target: '#article_position' }
f.input :title, input_html: { data: title_data }

ℹ️ Replace #19

@blocknotes blocknotes self-assigned this Mar 20, 2025
@blocknotes blocknotes force-pushed the feat/new-args-syntax branch 2 times, most recently from 650e41b to 815341f Compare March 22, 2025 08:20
@blocknotes blocknotes force-pushed the feat/new-args-syntax branch from 815341f to 3853e24 Compare March 22, 2025 08:25
@blocknotes blocknotes marked this pull request as ready for review March 22, 2025 08:35
@blocknotes blocknotes merged commit d70fb2b into master Mar 22, 2025
9 checks passed
@blocknotes blocknotes deleted the feat/new-args-syntax branch March 22, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant