Input with action: button to the left instead of right #1290
-
I'm looking for something like this: With button on the left, instead of right. According to this it is not possible. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
like this : https://jsfiddle.net/vntoa5hb/ |
Beta Was this translation helpful? Give feedback.
-
Yes! Shouldn't it be added in the documentation as example? |
Beta Was this translation helpful? Give feedback.
-
The second example shows an input with an action on the left: |
Beta Was this translation helpful? Give feedback.
-
You are right, my bad :( Sorry if I go off-topic... do you know any way to make this button appear like "on/off". |
Beta Was this translation helpful? Give feedback.
-
I'd go with adding the "active" class to the button on click. There is also the toggle modifier to automatically change it to the color green when activating, or add another color class manually. |
Beta Was this translation helpful? Give feedback.
-
I see, thank you so much for your code! What about adding space between button and input? Maybe you can solve this in a better way... |
Beta Was this translation helpful? Give feedback.
-
Something like this https://jsfiddle.net/sck6d3q8, but I think that |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
like this : https://jsfiddle.net/vntoa5hb/