Git Product home page Git Product logo

Comments (4)

MintyMods avatar MintyMods commented on May 18, 2024

What is your use case? i.e. what is it being removed from if not the Set?

from svelte-material-ui.

ispyinternet avatar ispyinternet commented on May 18, 2024

The page? But yh, I was just playing around - so unsure if this is expected.

from svelte-material-ui.

MintyMods avatar MintyMods commented on May 18, 2024

Ah OK, I asked so that I can reproduce the issue but I am not sure that use case is valid.

The material chip component support various types of usage but these mostly involve having the chip within a list. The current SMUI examples are all used with the parent Set (and the current Chip component doesn't contain any removal logic).

The documentation does mention some placements:-

Input chips can be integrated with other components. They can appear:

  • Inline with the text input cursor in a field
  • In a stacked list
  • In a horizontally scrollable list

The 'inline within a field' kind of suggests it could be used without the set but I am not sure without testing it.

I guess you could use a set (consisting of a single item) or code the removal of the chip yourself. See the following Repl

from svelte-material-ui.

hperrin avatar hperrin commented on May 18, 2024

Since there is a new release (5.0), and this issue was filed prior to that release and hasn't had any updates in at least six months, I'm going to close it as part of a mass issue clean up. If this issue is still relevant, please re-open it and mention me in a comment, and I will triage the issue into a relevant milestone. Thank you for your patience, and I apologize for any inconvenience.

from svelte-material-ui.

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.