V15: Add a button to clear schedule#18339
Conversation
…ing it internally, which allows for more advanced form usage as well as usage of its slots
leekelleher
left a comment
There was a problem hiding this comment.
Tested out, all good, except that I noticed if a document has existing scheduled publish/unpublish dates, then the remove button doesn't appear. I've added commit 4f4183a to fix that. 👍
|
One thing to mention, with the refactor of the |
We should not throw it away just yet. It sets a standard and overrides what types you are allowed to define. Also, it more easily allows you to target date-specific inputs. A consideration I had was to keep the internal uui-input and add the appended Clear-button in the component directly instead. That would give a more unified look wherever the component is used. It wouldn't allow you to specify slots from the outside, but if you needed that, you could use the uui-input directly. What do you think about that? |
I'd be happy with this approach. Gives a consistent experience for date/time inputs. 👍 |
Description
Fixes AB#45942
How to test