Giter Site home page Giter Site logo

Comments (4)

syampillai avatar syampillai commented on June 17, 2024 1

Thank you Goran

from multiselect-combo-box-flow.

gatanaso avatar gatanaso commented on June 17, 2024

Thanks for reporting this issue.

Have you tried adjusting/customizing the style of the component?

from multiselect-combo-box-flow.

syampillai avatar syampillai commented on June 17, 2024

No, this effect was when I just used it in the default way.
Read-Only mode: (Please check the field labeled "Device")
read-only
Edit mode:
editing

from multiselect-combo-box-flow.

gatanaso avatar gatanaso commented on June 17, 2024

Thanks for the feedback, I should improve the default here. And since the MultiselectComboBox has style-able parts, this is easy to also modify in your own app:

  1. Create a new file under frontend/styles called multiselect-combo-box-styles.css
  2. In that file add the following code:
[part="readonly-container"] {
    padding: 4px;
}
  1. Apply the new style to your app by adding the following annotation:
@Route("")
@CssImport(value = "./styles/multiselect-combo-box-styles.css", themeFor = "multiselect-combo-box")
public class MyAwesomeApp extends VerticalLayout {.....}

The above code is to fix the "height" in readonly mode, but you can also adjust any of the other parts available in the web component.

Hope this helps,
Goran

from multiselect-combo-box-flow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.