I am trying to use the uui-modal-sidebar but the examples on don't seem to provide enough examples on how to do this.
I am using Umbraco 8 and creating a custom dashboard in the back office.
I would simply like to
1. Have a button on a page. When the user clicks the button, a modal sidebar appears. ( I don't want this modal to appear until the user clicks the button)
2. The modal has a text input, and a submit and close button.
3. When the user clicks the close button, the modal just closes and nothing else happens.
4. When the user clicks the Submit button, the value in the text input gets submitted to some API.
Can anyone provide me with some sample code on how to achieve this.
How to use Umbraco-UI uui-modal-sidebar
Hi there,
I am trying to use the uui-modal-sidebar but the examples on don't seem to provide enough examples on how to do this.
I am using Umbraco 8 and creating a custom dashboard in the back office.
I would simply like to 1. Have a button on a page. When the user clicks the button, a modal sidebar appears. ( I don't want this modal to appear until the user clicks the button) 2. The modal has a text input, and a submit and close button. 3. When the user clicks the close button, the modal just closes and nothing else happens. 4. When the user clicks the Submit button, the value in the text input gets submitted to some API.
Can anyone provide me with some sample code on how to achieve this.
Thanks in advance.
My code html code:
Hi Angel
I have battled with the uui-modal for hours one day and again for another 2 today to see if I missed something before.
I believe either the documentation is not clear enough or the element itself is buggy/incomplete.
I have tried so many different methods but nothing worked for me properly, but I might still be missing something (not sure).
Given the frustration I faced, I have just reverted back to using the standard custom infiniteEditor methods.
Maybe it's worth raising a bug in Github? but will not guarantee a quick fix if that's what's required.
Glad to hear that I'm not the only one.
I think the documentation is quite incomplete. Examples would be great to see some basic user stories.
Hopefully someone that works on the project could chime in.
is working on a reply...