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 custom template to bootstrap3 #64

Merged

Conversation

devonpis
Copy link
Contributor

@devonpis devonpis commented Jun 9, 2022

precautious measure related to an issue using custom template in V7 form.io server

@devonpis devonpis requested a review from a team June 9, 2022 04:16
@@ -1,3 +1,3 @@
import * as bootstrap from "./bootstrap";

export default { bootstrap };
export default { bootstrap, bootstrap3: bootstrap };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain how this would work.

Would you not need to provide a key for the original one.

Ie,
bootstrap: bootstrap, bootstrap3: bootstrap

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed
{ bootstrap, bootstrap3: bootstrap }
is a ES6 shorthand for
{ bootstrap: bootstrap, bootstrap3: bootstrap }

@devonpis devonpis merged commit 2ccc532 into main Jun 9, 2022
@duttonw duttonw deleted the 63-custom-templates-should-be-under-bootstrap3-for-v7-server branch April 5, 2024 01:36
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.

Just for info: the custom templates should be under "bootstrap3" for v7 server
3 participants