Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

165
Views
Ionic 3 - Registrar nuevo elemento es formBuilder

He agregado un elemento deslizante personalizado en formBuilder . El código es el siguiente:

 var fields = [{ label: 'Rating', attrs: { type: 'slider' }, icon: '🌟' }]; var templates = { slider: function(fieldData) { return { field: '<input type="range" min="0" max="10">' } } }; $(container).formBuilder({ templates, fields });

Los datos JSON que genera son los siguientes:

 [ { "type": "slider", "required": false, "label": "Rating", "name": "slider-1643115075076-0", "access": false } ]

Pero cuando paso estos datos al método formRender en mi aplicación, aparece el siguiente error:

 Error: Invalid control type. (Type: slider, Subtype: undefined). Please ensure you have registered it, and imported it correctly.

¿Cómo registro este nuevo elemento para que aparezca en mi aplicación?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!