angular-components
angular-components copied to clipboard
Hide/Show the Clear button
Is your feature request related to a problem? Please describe. In some cases, you don't want to allow the user to clear the date
Describe the solution you'd like Have a new property to show/hide the Clear button (why not also the others)
@LucasBrazi06 can you elaborate the usecase please? While its easy to implement it clear is there for ease of use from user experience standpoint. you can make the input box required if you want user to always select some date range. Would like to understand more from you. Thanks.
My use case is that I use the date/time picker to provide date/time filters and I don't want the user to clear the date. Why providing the Clear button when it's not allowed, this is confusing the user.
@LucasBrazi06 Fair enough but apply and cancel buttons cant be shown/hidden the same way. If user wants to undo their operation cancel is still very much handy. and apply is anyways shown only if autoapply is false. I will try to publish another version with feature to show hide clear button
@technikhil314 Thanks a lot!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.