Coder Social home page Coder Social logo

Comments (6)

djhi avatar djhi commented on May 28, 2024

It's done already. Have you found a label without id ?

Le mar 7 avr. 2015 16:46, Jadson [email protected] a écrit :

When click on a label it should focus on the corresponding input, but
only using the name attribute in this field focus effect does not work
because it needs the ID attribute.
So, the label has the attr for, but the input need the id.

I know that we can add it manually, but this theme auto generate the
label attr for with the input name from schema, that is unique like
the id attr need be.
I hope you understand my vision. Any way thank you so much for this
package and good work.


Reply to this email directly or view it on GitHub
#12.

from meteor-autoform-materialize.

jadsonlourenco avatar jadsonlourenco commented on May 28, 2024

No, I get the input without ID:

{{> afQuickField name="email"}}

// return
<div class="input-field">    
    <input type="text" name="email" required>     
    <label for="email">Your E-mail</label>    
</div>

The input don't has an ID, you see different?

from meteor-autoform-materialize.

djhi avatar djhi commented on May 28, 2024

I'll check that asap

Le mar 7 avr. 2015 19:15, Jadson [email protected] a écrit :

No, I get the input without ID:

{{> afQuickField name="email"}}

// return

Your E-mail

The input don't has an ID, you see different?


Reply to this email directly or view it on GitHub
#12 (comment)
.

from meteor-autoform-materialize.

djhi avatar djhi commented on May 28, 2024

Are you using the last autoform too ?

On the playground which is running here, you can see that ids are generated correctly.

from meteor-autoform-materialize.

jadsonlourenco avatar jadsonlourenco commented on May 28, 2024

Yes man, the all problem is that, autoform not update of 4.2 to 5.0 version, I need add one flag on meteor cmd to do that. So problem solved! Thank you so much!

from meteor-autoform-materialize.

djhi avatar djhi commented on May 28, 2024

in your .meteor/packages file, add autoform like this:

from meteor-autoform-materialize.

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.