-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Checkout Editor] Default values in toml settings #739
Labels
Comments
gil--
changed the title
[Checkout Editor] Default values
[Checkout Editor] Default values in toml settings
Feb 15, 2023
+1 This would be great to have |
+1 Please add it! |
Much needed +1 |
Absolutely necessary! +1 |
This would be a great addition to the extension definitions! |
Upvote!! |
This would be useful, surprised it is not a thing. |
Absolutely necessary! +1 |
Need!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please list the related package(s)
checkout-ui-extensions
If this related to specific APIs or components, please list them here
For example:
Would have a default:
[settings] [[settings.fields]] key = "title" type = "single_line_text_field" name = "Title (optional)" description = "Enter a title for the block." + default = "Hello!!"
Is your feature request related to a problem? Please describe.
Would be nice to specify a default value for a toml input setting similar to the default attribute for theme settings.
Describe the changes you are looking for
Add ability to specify the default value for a setting via new
default
attribute on all input setitngs.Describe alternatives you’ve considered
I specify a default in the extension code but it's not ideal as there's nothing selected within the checkout editor. Does not work super well if you want a checkbox selected by default for example.
The text was updated successfully, but these errors were encountered: