Giter Site home page Giter Site logo

Label customization about ember-rapid-forms HOT 3 OPEN

riklaunim avatar riklaunim commented on August 16, 2024
Label customization

from ember-rapid-forms.

Comments (3)

GCorbel avatar GCorbel commented on August 16, 2024

Hello and sorry for the late answer. I think the best we can do at the moment is :

{{#em-form-group model=model property='clubName'}}
  {{em-form-label text='Label' for='club-name'}}
  {{input value=(mut (get model.setting 'clubName')) name='club-name' class='form-control'}}
{{/em-form-group}}

You have some properties of ember-rapid-forms and can do what you want inside the em-form-group block.

from ember-rapid-forms.

riklaunim avatar riklaunim commented on August 16, 2024

ok, and what's the part responsible for showing validation errors?

from ember-rapid-forms.

GCorbel avatar GCorbel commented on August 16, 2024

There is no way to have error validation with this at the moment but I think it should no be difficult to add.

I you want to contribute, you can try to add the mixin InputComponentMixin in this file as it's done here. You will have to do some changes in the template and in the tests but it's not a big deal.

Do you want to contribute?

from ember-rapid-forms.

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.