vue-cool-select icon indicating copy to clipboard operation
vue-cool-select copied to clipboard

HTML5 "required" attribute as prop

Open Shamus03 opened this issue 4 years ago • 1 comments

Issue #190 explains a workaround by using input-el-custom-attributes. I think required is simple/common enough that it deserves its own prop. Thoughts?

Proposed usage:

<CoolSelect required />

Versus the current:

<CoolSelect input-el-custom-attributes="{required:true}" />

Shamus03 avatar Dec 12 '19 19:12 Shamus03

Good idea, I will do as time goes on.

iliyaZelenko avatar Dec 13 '19 03:12 iliyaZelenko