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

[Input] supports actions on both sides #1609

Open
layershifter opened this issue Jul 27, 2020 · 2 comments
Open

[Input] supports actions on both sides #1609

layershifter opened this issue Jul 27, 2020 · 2 comments
Labels
lang/css Anything involving CSS type/feat Any feature requests or improvements

Comments

@layershifter
Copy link
Contributor

Feature Request

Comes from Semantic-Org/Semantic-UI-React#3944.

Currently it's possible to have an action on left/right for inputs and even multiple actions. However, it's not possible to have actions on both sides. I tried to find previous conversations about this in FUI/SUI repo to link issues, but haven't found them.

Example (if possible)

https://jsfiddle.net/ed6sbn50/4/

Screenshot (if possible)

image

@layershifter layershifter added state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/feat Any feature requests or improvements labels Jul 27, 2020
@layershifter
Copy link
Contributor Author

IMHO, I don't think that this should be implemented as it allows to create to complex UIs. A single use case that I see is a control with minus/plus:

<div class="ui action input">
  <button class="ui icon button">
    <i class="icon minus"></i>
  </button>
  <input placeholder="Search..." type="text" />
  <button class="ui icon button">
    <i class="icon plus"></i>
  </button>
</div>

image

https://jsfiddle.net/zcjka4g3/4/

@ko2in ko2in added lang/css Anything involving CSS and removed state/awaiting-triage Any issues or pull requests which haven't yet been triaged labels Jul 27, 2020
@jamessampford
Copy link
Contributor

I believe related to #536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/css Anything involving CSS type/feat Any feature requests or improvements
Projects
None yet
Development

No branches or pull requests

3 participants