ember-cli-dynamic-forms
ember-cli-dynamic-forms copied to clipboard
Possible to Specify Another Alpaca View?
I've been digging into this and Alpaca directly, but I can't find a clear answer: would it be possible to specify a custom view (web-create
for example) in the component that would subsequently disable/remove bootstrap? I use a different style library and bootstrap doesn't play nice with it.
I currently achieve this with a custom fork that hard-codes a view in and removes all the bootstrap calls in the build pipeline, but this is shameful and not ideal.
Hi @maprules1000 I think that's a good request (not always a bootstrap fan). I'll take a look at your fork and see what we can build into the addon.
Awesome! Thanks so much!
Did some of my own digging and found this section on creating a custom view: http://www.alpacajs.org/docs/api/views.html#toc_7
In the section previous, it shows you how to override certain classes. If you can get this working you can call Alpaca.registerView in an initializer to register it.
I'm currently working on the ability to provide replacement renderers for alpaca, which would still leverage its json-schema format, but would instead render things like ember components. That might be another alternative when it comes.
Let me know what you do...