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

FORM type embed doesn't support a default #111

Closed
mdroidian opened this issue Dec 23, 2023 · 0 comments · Fixed by #112
Closed

FORM type embed doesn't support a default #111

mdroidian opened this issue Dec 23, 2023 · 0 comments · Fixed by #112
Labels
bug Something isn't working

Comments

@mdroidian
Copy link
Collaborator

It should support block refs and arbitrary text

steps to repo

- #SmartBlock bugEmbedDefault
    - <%SET:default,<%RESOLVEBLOCKREF:Here's some default content for our form inputs%>%><%NOBLOCKOUTPUT%>
    - <%SET:defaultForm,<%FORM:formEmbedDefault%>%>
- #SmartBlock bugEmbedDefaultRef
    - <%SET:default,((9DkhqxK3x))%><%NOBLOCKOUTPUT%>
    - <%SET:defaultForm,<%FORM:formEmbedDefault%>%>
- formEmbedDefault
    - fields
        - embed-input
            - type
                - embed
            - label
                - Embed field example (default does not work)
            - default
                - <%GET:default%>
    - output
        - variables
    - submit
        - Submit
    - cancel
        - Cancel

Reported by Chris H. via slack

@mdroidian mdroidian added the bug Something isn't working label Dec 23, 2023
@mdroidian mdroidian linked a pull request Dec 23, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this to Done in Backlog Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant