md-form error on submit


Topic: md-form error on submit

Alan van Buuren pro asked 6 years ago

Hi, my error is when refresh my view with a post (@Ajax.BeginForm the field loss the aparience. this is the example   for the select i init this function with the code $('.mdb-select').material_select(); but, i don't know what is for the inputs (text, etc)

Jakub Mandra staff premium answered 6 years ago

Regular inputs don't need extra js code for initialization (select is just the most complex). Regarding to your problem, I see that you wrote in the specification, that you use MDB Version: 4.5.9 - issue with inputs was resolved in next version (now we have v.4.5.11), so please upgrade your MDB package :)   Best regards, Jakub

Alan van Buuren pro answered 6 years ago

Thnx, i upgrade the version... but, the problem persist, i did read in anothers pages, this is solved with Materialize.updateTextFields(); but in this template i can't invoque Materialize. Example form after submit

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.9
  • Device: PC
  • Browser: Firefox
  • OS: Win10
  • Provided sample code: No
  • Provided link: No