Closed ddkkinf closed 7 years ago
(to check and reformat value if wrong format value is inserted.)
we use with this options in our project
<color-picker options="{required: true, format:'hexString', restrictToFormat: false, alpha: false}" name="..." ng-model="..." required/>
if someone insert hex value directly (ex : FC11DE) without using color-picker the expected result is #FC11DE but hexString not be reformatted
FC11DE
#FC11DE
I think update value when color-picker is closed is better
(to check and reformat value if wrong format value is inserted.)
we use with this options in our project
if someone insert hex value directly (ex :
FC11DE
) without using color-picker the expected result is#FC11DE
but hexString not be reformattedI think update value when color-picker is closed is better