Giter Site home page Giter Site logo

Comments (8)

mariciv avatar mariciv commented on June 2, 2024 2

Is there any chance for this gets merged or fixed in some other way? @pchmn

from materialchipsinput.

mathias21 avatar mathias21 commented on June 2, 2024 1

@TitusCln you are doing dirty things! but I like it ;)

from materialchipsinput.

mathias21 avatar mathias21 commented on June 2, 2024

Also it is not possible to disable Edittext and solve autofocus problems. Do you think this will be fixed or should I make a fork?

PS: nice lib! thanks!

from materialchipsinput.

mathias21 avatar mathias21 commented on June 2, 2024

Hi @mariciv, @pchmn

I've created a PR with a fix to the EditText new instance problem. Please have a look. This is a temporary fix and I would recommend to move the EditText initialisation to the View layer, instead inside of the adapter. This will be, ofc, up to @pchmn ;)

from materialchipsinput.

TitusCln avatar TitusCln commented on June 2, 2024

in case you don't wanna wait to PR or Fork the project you can use this trick to get the actual ChipInputEditText

@BindView(R.id.configuration_mails)
ChipsInput editMails;

RecyclerView recyclerView = (RecyclerView) editMails.findViewById(R.id.chips_recycler);
ChipsInputEditText chipsInputEditText = (ChipsInputEditText(recyclerView).getChildAt(recyclerView.getChildCount() - 1);

from materialchipsinput.

midhun-murali avatar midhun-murali commented on June 2, 2024

in case you don't wanna wait to PR or Fork the project you can use this trick to get the actual ChipInputEditText

@BindView(R.id.configuration_mails)
ChipsInput editMails;

RecyclerView recyclerView = (RecyclerView) editMails.findViewById(R.id.chips_recycler);
ChipsInputEditText chipsInputEditText = (ChipsInputEditText(recyclerView).getChildAt(recyclerView.getChildCount() - 1);

this is not working, is there any way to add a contact manually after pressing enter key

from materialchipsinput.

ajay-nagarajan avatar ajay-nagarajan commented on June 2, 2024

@pchmn any reason this has not been merged yet? is there any other solution apart from the suggested one above ?

from materialchipsinput.

mathias21 avatar mathias21 commented on June 2, 2024

Hi @ajay-nagarajan
You can always pull from the PR I did with a temporary fix.
#51

from materialchipsinput.

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.