ghiscoding / Aurelia-Bootstrap-Plugins

Aurelia-Bootstrap-Plugins are Custom Elements to bridge with a set of 3rd party Bootstrap addons
https://ghiscoding.github.io/Aurelia-Bootstrap-Plugins
MIT License
45 stars 23 forks source link

Support 'required' validation attribute for abp-select #59

Closed Mobe91 closed 6 years ago

Mobe91 commented 6 years ago

For single and multiple select abp-select it would be nice to specify whether user input is required by adding support for a required attribute.

ghiscoding commented 6 years ago

I added bindable for both readonly and required, I didn't test it so please give that a try with latest version 1.3.2

ghiscoding commented 6 years ago

I had forgot to push the new version 1.3.2 at the time but it's available now and I tried it, the required shows up. However the readonly is not a valid property of a select, so I'll remove that one in future version.

Closing since it seems to be working. Please reply if there's any other problems, thanks