15

A message from the official ESLint plugin for Vue.js says:

'v-model' directives require the attribute value which is valid as LHS.

An example which triggers that message is

<input v-model="foo() + bar()">

What does LHS mean?

mazaneicha
  • 8,794
  • 4
  • 33
  • 52
Mr.Yeah
  • 1,054
  • 2
  • 9
  • 21

1 Answers1

18

lhs is short for left hand side

wishmaster
  • 1,437
  • 1
  • 10
  • 19
  • 4
    Any idea why it says "left-hand side" and not something like "variable identifier"? @SteakOverflow Actually, it is an answer to my question. – Mr.Yeah Jan 24 '19 at 12:57
  • 2
    @SteakOverflow it completely follows the guidelines and is a valid and good answer – Nino Filiu Apr 02 '19 at 16:57
  • 1
    Ok, I stopped by and read again. I think I rushed as I tend to see 1 liners as comments but in this case it’s fine. Apologies. Voted up. – Steak Overflow Apr 02 '19 at 17:08