datatable :maxheight invalid expression


Topic: datatable :maxheight invalid expression

Ariel van Zyl asked 5 years ago

**Expected behavior**tbody maximum height set to 200px**Actual behavior**compile error. invalid expression: invalid or unexpected token in 200px, raw expression: :maxheight="200px"**Resources (screenshots, code snippets etc.)**

sample code

compile error


Mikołaj Smoleński staff answered 5 years ago

MaxHeight has to be a string. Please remove the colon from this props an it will work.

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.2
  • Device: pc
  • Browser: firefox, chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No