In the component panel which component should I use to create this line of code:
input class="btn btn-secondary btn-block" value="Login" type="submit"/>
I can't find a "submit" input type in the component panel.
Thanks!
In the component panel which component should I use to create this line of code:
input class="btn btn-secondary btn-block" value="Login" type="submit"/>
I can't find a "submit" input type in the component panel.
Thanks!
You should use button component and then configure submit type, btn-block and btn-secondary properties on Options Pannel.
I did that but it does not change the control type to 'input' nor remove btn-primary from the class list.
I was seeking the exact syntax in the example.
You could also just use a text input and then type a new type="submit" in another attribute box and it will overwrite the one above it. Then add your classes and value attribute.
That worked perfectly -- except my control is in a form so it is automatically given the undeletable class "form-control". However, that appears to be benign.
Good idea nonetheless.
Best,
If you change your button style you can set btn-secondary instead of btn-primary.
I record a video: https://drive.google.com/file/d/1gSRwC-r0S6xC4d2iNcZGu-15hXS5sHgn/view
Thank you! That was very clear.
-A