Skip to content

Border with input prepend/append #1126

Closed
@bjarnef

Description

@bjarnef

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.

1.14.0

Bug summary

When using prepend and append I personally prefer these to be outside input itself, but wrapped in a "group".
https://getbootstrap.com/docs/5.3/forms/input-group/#basic-example

E.g. in embed it collides a bit with button look:
Image

I think something like this would be better.

Image

Perhaps a prefix and suffix could be used to insert (mostly icon) inside input:
http://shoelace.style/components/input/#prefix-and-suffix-icons

E.g. sometimes one wants in a datepicker to have a button triggering datepicker - or icon in input itself.
https://primevue.org/datepicker/#icon

Image

Image

Image

Specifics

No response

Steps to reproduce

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageThis issue has not been tested by a team member yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions