miso
3 years ago
12
3
Vue

v-attr="type: ..."

Posted 3 years ago by miso

Hi, I would like to change type attribute in <input> element.

v-attr="type: password.type"

But: [Vue warn]: Failed to resolve directive: attr.

Please sign in or create an account to participate in this conversation.