Giter Club home page Giter Club logo

Comments (13)

KirilCycle avatar KirilCycle commented on May 30, 2024 2

@KirilCycle Can you give me an estimated time for this task? I was planning to release a new version for some of the bugs today

Well, ill try to push the PR within 3 hours+-

from primereact.

KirilCycle avatar KirilCycle commented on May 30, 2024 1

Hi there! Can I take it? I want to clarify something, when updating PT options for password, I also need to update password PT options in PASS THROUGH tab in documentation?

from primereact.

melloware avatar melloware commented on May 30, 2024 1

The docs automatically update from the .d.ts changes

from primereact.

melloware avatar melloware commented on May 30, 2024 1

Nice teamwork @KirilCycle !

from primereact.

melloware avatar melloware commented on May 30, 2024 1

Ok great! It's whenever you are passing through to another subcompnent of a component like IconField or InputText it needs to be root.

from primereact.

nitrogenous avatar nitrogenous commented on May 30, 2024

Hi there! Can I take it? I want to clarify something, when updating PT options for password, I also need to update password PT options in PASS THROUGH tab in documentation?

Of course!

from primereact.

nitrogenous avatar nitrogenous commented on May 30, 2024

@KirilCycle Can you give me an estimated time for this task? I was planning to release a new version for some of the bugs today

from primereact.

sja-cslab avatar sja-cslab commented on May 30, 2024

Thanks, @KirilCycle. I've just updated to 10.6.5, and the pt option is indeed available now. However, className does not get rendered.

e.g. the following:

pt={{
        input: { className: "flex-1" },
        iconField: { className: "flex-1" }
   }}

Resulting in:
image

from primereact.

melloware avatar melloware commented on May 30, 2024

@sja-cslab because it's an InputText you have to do "input: { root: { className: "test" } }"

from primereact.

sja-cslab avatar sja-cslab commented on May 30, 2024

@melloware if you are talking about someting like

pt={{
        input: { root: { className: "qwertz" } },
        iconField: { className: "flex-1" }
   }}

that does not help and not even work (in case this nesting is even possible) - however, I'm not interested in the InputText.
The div.p-icon-field is the parent I need to add a class to, that was my intention with this issue here

from primereact.

sja-cslab avatar sja-cslab commented on May 30, 2024

@melloware here's a stackblitz so you may understand my intention

from primereact.

melloware avatar melloware commented on May 30, 2024

Did you try iconField with "root" it's the same principal as input.

from primereact.

sja-cslab avatar sja-cslab commented on May 30, 2024

@melloware good hint, that's working - stackblitz updated. Ty.

pt={{ input: { className: 'flex-1' }, iconField: { root: { className: 'flex flex-1' }, }, }}

from primereact.

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.